#0C0E41#0C0E41

#0C0E41 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.6% C 0.094 H 272.9°. Best body text is #FFFFFF at 18.18:1 contrast (WCAG AA passes).

Color values

HEX#0C0E41
RGBrgb(12, 14, 65)
HSLhsl(238, 69%, 15%)
HSVhsv(238, 82%, 25%)
CMYKcmyk(81.5%, 78.5%, 0%, 74.5%)
CIE-LABlab(6.99, 19.32, -32.38)
CIE-LCHlch(6.99, 37.70, 300.83°)
OKLaboklab(20.59% 0.0047 -0.0938)
OKLCHoklch(20.59% 0.094 272.9)
XYZxyz(1.2625, 0.7738, 5.0828)
Luminance0.0077 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C0E41 #413F0C
analogous
#0C2841 #0C0E41 #250C41
triadic
#0C0E41 #410C0E #0E410C
tetradic
#0C0E41 #410C28 #413F0C #0C4125
square
#0C0E41 #410C28 #413F0C #0C4125
split-complementary
#0C0E41 #41250C #28410C
monochromatic
#05061A #05061A #0C0E41 #161975 #1F24A8

Accessibility & contrast

On white

18.18
#0C0E41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#0C0E41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C0E41
18.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C0E41#FFFFFF#000000##FFFFFF
##0C0E411.0018.181.1518.18
#FFFFFF18.181.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001843
Deuteranopia (green-blind)
#001340
Tritanopia (blue-blind)
#001C26
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #0c0e41;
/* rgb */ color: rgb(12, 14, 65);
/* oklch */ color: oklch(20.6% 0.094 272.9);
Tailwind
colors: {
  custom: {
    50: '#554c76',
    500: '#0c0e41',
    950: '#000000',
  },
}
SCSS
$custom: #0c0e41;
$custom-light: #554c76;
$custom-dark: #000000;
JSON
{
  "hex": "#0c0e41",
  "rgb": {
    "r": 12,
    "g": 14,
    "b": 65
  },
  "hsl": {
    "h": 237.736,
    "s": 68.831,
    "l": 15.098
  },
  "oklch": {
    "l": 0.20589,
    "c": 0.09397,
    "h": 272.9
  },
  "luminance": 0.00774
}

Semantic roles & 50–950 ramp

primary
#0C0E41
secondary
#7D7A2C
accent
#E53CEC
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #0C0E41

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#0C0E41 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva