#0E162F#0E162F

#0E162F is a very dark, muted blue. Relative luminance 0.009; OKLCH L 20.8% C 0.051 H 268.4°. Best body text is #FFFFFF at 17.88:1 contrast (WCAG AA passes).

Color values

HEX#0E162F
RGBrgb(14, 22, 47)
HSLhsl(225, 54%, 12%)
HSVhsv(225, 70%, 18%)
CMYKcmyk(70.2%, 53.2%, 0%, 81.6%)
CIE-LABlab(7.88, 5.93, -17.90)
CIE-LCHlch(7.88, 18.86, 288.33°)
OKLaboklab(20.8% -0.0014 -0.051)
OKLCHoklch(20.8% 0.051 268.4)
XYZxyz(0.9809, 0.8723, 2.8055)
Luminance0.0087 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E162F #2F270E
analogous
#0E272F #0E162F #170E2F
triadic
#0E162F #2F0E16 #162F0E
tetradic
#0E162F #2F0E27 #2F270E #0E2F17
square
#0E162F #2F0E27 #2F270E #0E2F17
split-complementary
#0E162F #2F170E #272F0E
monochromatic
#070B18 #070B18 #0E162F #1C2C5E #2A428D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0E162F#FFFFFF#000000##FFFFFF
##0E162F1.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)
#0B1930
Deuteranopia (green-blind)
#07162E
Tritanopia (blue-blind)
#001C20
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #0e162f;
/* rgb */ color: rgb(14, 22, 47);
/* oklch */ color: oklch(20.8% 0.051 268.4);
Tailwind
colors: {
  custom: {
    50: '#505267',
    500: '#0e162f',
    950: '#000000',
  },
}
SCSS
$custom: #0e162f;
$custom-light: #505267;
$custom-dark: #000000;
JSON
{
  "hex": "#0e162f",
  "rgb": {
    "r": 14,
    "g": 22,
    "b": 47
  },
  "hsl": {
    "h": 225.455,
    "s": 54.098,
    "l": 11.961
  },
  "oklch": {
    "l": 0.20797,
    "c": 0.05099,
    "h": 268.4
  },
  "luminance": 0.00872
}

Semantic roles & 50–950 ramp

primary
#0E162F
secondary
#695B2F
accent
#BA4ADD
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020206
muted
#78787A

Preview Lab

Preview with #0E162F

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

Preview Lab → · Contrast checker → · Palette generator →

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