#0E121F#0E121F

#0E121F is a very dark, muted blue. Relative luminance 0.006; OKLCH L 18.5% C 0.027 H 270.5°. Best body text is #FFFFFF at 18.67:1 contrast (WCAG AA passes).

Color values

HEX#0E121F
RGBrgb(14, 18, 31)
HSLhsl(226, 38%, 9%)
HSVhsv(226, 55%, 12%)
CMYKcmyk(54.8%, 41.9%, 0%, 87.8%)
CIE-LABlab(5.64, 2.08, -9.34)
CIE-LCHlch(5.64, 9.57, 282.55°)
OKLaboklab(18.51% 0.0002 -0.0275)
OKLCHoklch(18.51% 0.027 270.5)
XYZxyz(0.6447, 0.6249, 1.3827)
Luminance0.0063 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E121F #1F1B0E
analogous
#0E1B1F #0E121F #130E1F
triadic
#0E121F #1F0E12 #121F0E
tetradic
#0E121F #1F0E1B #1F1B0E #0E1F13
square
#0E121F #1F0E1B #1F1B0E #0E1F13
split-complementary
#0E121F #1F130E #1B1F0E
monochromatic
#0A0C15 #0A0C15 #0E121F #212A49 #344373

Accessibility & contrast

On white

18.67
#0E121F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#0E121F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E121F
18.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E121F#FFFFFF#000000##FFFFFF
##0E121F1.0018.671.1318.67
#FFFFFF18.671.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E1320
Deuteranopia (green-blind)
#0C121F
Tritanopia (blue-blind)
#091517
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #0e121f;
/* rgb */ color: rgb(14, 18, 31);
/* oklch */ color: oklch(18.5% 0.027 270.5);
Tailwind
colors: {
  custom: {
    50: '#4d505a',
    500: '#0e121f',
    950: '#000000',
  },
}
SCSS
$custom: #0e121f;
$custom-light: #4d505a;
$custom-dark: #000000;
JSON
{
  "hex": "#0e121f",
  "rgb": {
    "r": 14,
    "g": 18,
    "b": 31
  },
  "hsl": {
    "h": 225.882,
    "s": 37.778,
    "l": 8.824
  },
  "oklch": {
    "l": 0.18508,
    "c": 0.02746,
    "h": 270.5
  },
  "luminance": 0.00625
}

Semantic roles & 50–950 ramp

primary
#0E121F
secondary
#564E32
accent
#B35ACE
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010203
muted
#777878

Preview Lab

Preview with #0E121F

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

Preview Lab → · Contrast checker → · Palette generator →

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