#0C0E43#0C0E43

#0C0E43 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.8% C 0.097 H 272.6°. Best body text is #FFFFFF at 18.11:1 contrast (WCAG AA passes).

Color values

HEX#0C0E43
RGBrgb(12, 14, 67)
HSLhsl(238, 70%, 15%)
HSVhsv(238, 82%, 26%)
CMYKcmyk(82.1%, 79.1%, 0%, 73.7%)
CIE-LABlab(7.20, 20.21, -33.45)
CIE-LCHlch(7.20, 39.08, 301.15°)
OKLaboklab(20.83% 0.0044 -0.0969)
OKLCHoklch(20.83% 0.097 272.6)
XYZxyz(1.3214, 0.7974, 5.3934)
Luminance0.0080 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C0E43 #43410C
analogous
#0C2943 #0C0E43 #250C43
triadic
#0C0E43 #430C0E #0E430C
tetradic
#0C0E43 #430C29 #43410C #0C4325
square
#0C0E43 #430C29 #43410C #0C4325
split-complementary
#0C0E43 #43250C #29430C
monochromatic
#05051A #05051A #0C0E43 #151977 #1F24AB

Accessibility & contrast

On white

18.11
#0C0E43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#0C0E43 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C0E43
18.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C0E43#FFFFFF#000000##FFFFFF
##0C0E431.0018.111.1618.11
#FFFFFF18.111.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001945
Deuteranopia (green-blind)
#001342
Tritanopia (blue-blind)
#001D27
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #0c0e43;
/* rgb */ color: rgb(12, 14, 67);
/* oklch */ color: oklch(20.8% 0.097 272.6);
Tailwind
colors: {
  custom: {
    50: '#554c78',
    500: '#0c0e43',
    950: '#000000',
  },
}
SCSS
$custom: #0c0e43;
$custom-light: #554c78;
$custom-dark: #000000;
JSON
{
  "hex": "#0c0e43",
  "rgb": {
    "r": 12,
    "g": 14,
    "b": 67
  },
  "hsl": {
    "h": 237.818,
    "s": 69.62,
    "l": 15.49
  },
  "oklch": {
    "l": 0.20825,
    "c": 0.09699,
    "h": 272.6
  },
  "luminance": 0.00797
}

Semantic roles & 50–950 ramp

primary
#0C0E43
secondary
#7F7C2C
accent
#E63BEC
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030109
muted
#78777B

Preview Lab

Preview with #0C0E43

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

Preview Lab → · Contrast checker → · Palette generator →

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