Colorise ProOKLCH Engine
ExploreStudioNamesPickerPairs
ExploreStudioNamesPickerPairsContrastExtract
Menu

Product

  • Home
  • Explore
  • Studio
  • Color Names

Tools

  • Picker
  • Color Pairs
  • Contrast
  • Image Extract
  • Gradient Lab
  • Palette Diff
  • Brand from URL

Guides

  • All guides
  • OKLCH vs HSL
  • WCAG vs APCA
  • OKLCH color scales
  • Gamut & sRGB
  • Extract from images
  • HEX to OKLCH
  • Dark mode colors
  • Color meanings
首页/颜色/#0C045A

最接近的命名颜色 · #0C045A

#0C045A

最接近的命名颜色: Ravenclaw

#0C045A(rgb(12 4 90)、hsl(246 91% 18%)、oklch(0.224 0.138 270.9))最接近命名颜色 Ravenclaw。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。

What does Blue mean? →

#0C045A

oklch(0.224 0.138 270.9)

颜色转换

HEX
#0c045a
RGB
rgb(12 4 90)
HSL
hsl(246 91% 18%)
HWB
hwb(246 2% 65%)
OKLCH
oklch(0.224 0.138 270.9)
OKLab
oklab(0.224 0.002 -0.138)
CIE Lab
lab(7.12 29.69 -49.32)
LCH
lch(7.12 57.57 301)
CMYK
cmyk(87% 96% 0% 65%)

浅色调 · 深色调 · 灰色调

浅色调

  • 1A236B
  • 2D3B7C
  • 43538D
  • 5B6A9D
  • 7482AE
  • 8E9ABE
  • A9B3CF
  • C5CCDF
  • E2E5EF

深色调

  • 09034D
  • 060241
  • 040135
  • 030129
  • 02011E
  • 010013
  • 000009
  • 000003
  • 000000

灰色调

  • 12175F
  • 1B2564
  • 253268
  • 313D6D
  • 3D4871
  • 4A5474
  • 575F78
  • 646A7B
  • 72757E

配色和谐

互补色 +180°

  • 0C045A

    Ravenclaw

  • 231A00

    ≈ Cannon Black

类似色 -30° +30°

  • 0C045A

    Ravenclaw

  • 001E31

    ≈ Cyanophobia

  • 270048

    ≈ Your Darkness

三角配色 +120° +240°

  • 0C045A

    Ravenclaw

  • 3B0200

    ≈ Biltong

  • 00230C

    ≈ Clock Chimes Thirteen

分裂互补色 +150° +210°

  • 0C045A

    Ravenclaw

  • 2C1500

    ≈ Shadow Play

  • 181F00

    ≈ Yuzu Soy

四角配色 +90° +180° +270°

  • 0C045A

    Ravenclaw

  • 390019

    ≈ Rhodophobia

  • 231A00

    ≈ Cannon Black

  • 00211D

    ≈ Stellar Explorer

对比度与无障碍

Ag

白底

WCAG 17.78:1 · APCA Lc 104

AAA
Ag

黑底

WCAG 1.18:1 · APCA Lc 0

Fail

最佳文字颜色: #FFFFFF

WCAG 17.78:1 (AAA) · APCA Lc 104

Contrast pairs

  • #0C045A / #FFFFFF
  • #0C045A / #000000
  • #FFFFFF / #0C045A
  • #000000 / #0C045A

代码片段

CSS

:root {
  --ravenclaw: #0c045a;
  --ravenclaw-rgb: 12 4 90;
  --ravenclaw-oklch: oklch(0.224 0.138 270.9);
}

.element {
  color: var(--ravenclaw);
  background-color: hsl(246 91% 18%);
  border-color: oklch(0.224 0.138 270.9);
}

Tailwind CSS v4

@theme {
  --color-ravenclaw: #0c045a;
  --color-ravenclaw-50: #e8f3ff;
  --color-ravenclaw-100: #d8e6ff;
  --color-ravenclaw-200: #c0d1ff;
  --color-ravenclaw-300: #a0b3fe;
  --color-ravenclaw-400: #8099f0;
  --color-ravenclaw-500: #657ee1;
  --color-ravenclaw-600: #566bbe;
  --color-ravenclaw-700: #445598;
  --color-ravenclaw-800: #2f3f72;
  --color-ravenclaw-900: #202b50;
  --color-ravenclaw-950: #101836;
}

SCSS

$ravenclaw: #0c045a;
$ravenclaw-rgb: 12, 4, 90;
$ravenclaw-light: mix(#fff, $ravenclaw, 20%);
$ravenclaw-dark: mix(#000, $ravenclaw, 20%);

.element {
  color: $ravenclaw;
  box-shadow: 0 0 0 2px rgba($ravenclaw, 0.35);
}

相近的命名颜色

  • 0A0555

    Ravenclaw

  • 0B085F

    Prussian Nights

  • 110055

    Scoop of Dark Matter

  • 00035B

    Abyssal Blue

  • 030764

    D. Darx Blue

  • 110066

    The Vast of Night

  • 001155

    Interstellar Blue

  • 111155

    Shadowdancer

  • 150F5B

    Space Colonisation

  • 000055

    Alucard’s Night

  • 120A65

    Underground Stream

  • 000066

    Alone in the Dark

Palettes with similar colors

  • Deep Dying Storm Blue QuartzViolet · Cold
  • Deep Alone in the Dark PulseViolet · Cold
  • Azure ForgeViolet · Cold
  • Deep Alone in the Dark DriftViolet · Cold
  • Shadow Interstellar Blue PrismViolet · Cold
  • Shadow Dying Storm Blue KilnViolet · Cold

在工具中打开

取色器配色组合对比度检测StudioJSON API
Colorise Pro

Free OKLCH color workspace: precision color picker, color pairs, WCAG & APCA contrast checker, palette from image, Studio systems, names, gradients, and brand tools. Export HEX, CSS, Tailwind & DTCG.

OKLCH Engine

Product

  • Home
  • Explore
  • Studio
  • Color Names
  • Color Codes

Tools

  • Color Picker
  • Color Pairs
  • Contrast Checker
  • Image Extract
  • Gradient Lab
  • Palette Diff
  • Brand from URL
  • For presentations
  • For business cards
  • For SaaS landings
  • Duo pairs
  • Trio systems

Guides

  • All guides
  • OKLCH vs HSL
  • WCAG vs APCA
  • OKLCH color scales
  • Gamut & sRGB
  • Extract from images
  • HEX to OKLCH
  • Dark mode colors
  • Color meanings

Legal

  • Privacy
  • Terms

© 2026 Colorise Pro. All rights reserved.

© 2026 Colorise Pro. Built for precision color work.

Report infringement: [email protected] (Colorise Pro)

PrivacyTermsOKLCH · WCAG · APCA