#0C0E49#0C0E49

#0C0E49 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.5% C 0.106 H 271.8°. Best body text is #FFFFFF at 17.88:1 contrast (WCAG AA passes).

Color values

HEX#0C0E49
RGBrgb(12, 14, 73)
HSLhsl(238, 72%, 17%)
HSVhsv(238, 84%, 29%)
CMYKcmyk(83.6%, 80.8%, 0%, 71.4%)
CIE-LABlab(7.89, 22.76, -36.54)
CIE-LCHlch(7.89, 43.05, 301.91°)
OKLaboklab(21.55% 0.0033 -0.1058)
OKLCHoklch(21.55% 0.106 271.8)
XYZxyz(1.5108, 0.8731, 6.3909)
Luminance0.0087 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C0E49 #49470C
analogous
#0C2D49 #0C0E49 #290C49
triadic
#0C0E49 #490C0E #0E490C
tetradic
#0C0E49 #490C2D #49470C #0C4929
square
#0C0E49 #490C2D #49470C #0C4929
split-complementary
#0C0E49 #49290C #2D490C
monochromatic
#04051A #04051A #0C0E49 #15187E #1D22B2

Accessibility & contrast

On white

17.88
#0C0E49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#0C0E49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C0E49
17.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C0E49#FFFFFF#000000##FFFFFF
##0C0E491.0017.881.1717.88
#FFFFFF17.881.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A4B
Deuteranopia (green-blind)
#001448
Tritanopia (blue-blind)
#001F2A
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #0c0e49;
/* rgb */ color: rgb(12, 14, 73);
/* oklch */ color: oklch(21.5% 0.106 271.8);
Tailwind
colors: {
  custom: {
    50: '#574d7c',
    500: '#0c0e49',
    950: '#000000',
  },
}
SCSS
$custom: #0c0e49;
$custom-light: #574d7c;
$custom-dark: #000000;
JSON
{
  "hex": "#0c0e49",
  "rgb": {
    "r": 12,
    "g": 14,
    "b": 73
  },
  "hsl": {
    "h": 238.033,
    "s": 71.765,
    "l": 16.667
  },
  "oklch": {
    "l": 0.21548,
    "c": 0.10582,
    "h": 271.8
  },
  "luminance": 0.00873
}

Semantic roles & 50–950 ramp

primary
#0C0E49
secondary
#85822C
accent
#E939EE
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04010A
muted
#79777C

Preview Lab

Preview with #0C0E49

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

Preview Lab → · Contrast checker → · Palette generator →

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