#0C0E44#0C0E44

#0C0E44 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.9% C 0.098 H 272.4°. Best body text is #FFFFFF at 18.07:1 contrast (WCAG AA passes).

Color values

HEX#0C0E44
RGBrgb(12, 14, 68)
HSLhsl(238, 70%, 16%)
HSVhsv(238, 82%, 27%)
CMYKcmyk(82.4%, 79.4%, 0%, 73.3%)
CIE-LABlab(7.31, 20.66, -33.97)
CIE-LCHlch(7.31, 39.76, 301.30°)
OKLaboklab(20.94% 0.0042 -0.0984)
OKLCHoklch(20.94% 0.098 272.4)
XYZxyz(1.3517, 0.8095, 5.5527)
Luminance0.0081 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C0E44 #44420C
analogous
#0C2A44 #0C0E44 #260C44
triadic
#0C0E44 #440C0E #0E440C
tetradic
#0C0E44 #440C2A #44420C #0C4426
square
#0C0E44 #440C2A #44420C #0C4426
split-complementary
#0C0E44 #44260C #2A440C
monochromatic
#05051A #05051A #0C0E44 #151978 #1E23AC

Accessibility & contrast

On white

18.07
#0C0E44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C0E44
18.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C0E44#FFFFFF#000000##FFFFFF
##0C0E441.0018.071.1618.07
#FFFFFF18.071.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c0e44;
/* rgb */ color: rgb(12, 14, 68);
/* oklch */ color: oklch(20.9% 0.098 272.4);
Tailwind
colors: {
  custom: {
    50: '#564c79',
    500: '#0c0e44',
    950: '#000000',
  },
}
SCSS
$custom: #0c0e44;
$custom-light: #564c79;
$custom-dark: #000000;
JSON
{
  "hex": "#0c0e44",
  "rgb": {
    "r": 12,
    "g": 14,
    "b": 68
  },
  "hsl": {
    "h": 237.857,
    "s": 70,
    "l": 15.686
  },
  "oklch": {
    "l": 0.20944,
    "c": 0.09848,
    "h": 272.4
  },
  "luminance": 0.0081
}

Semantic roles & 50–950 ramp

primary
#0C0E44
secondary
#807D2C
accent
#E63BED
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030109
muted
#78777B

Preview Lab

Preview with #0C0E44

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

Preview Lab → · Contrast checker → · Palette generator →

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