#0E172F#0E172F

#0E172F is a very dark, muted blue. Relative luminance 0.009; OKLCH L 21.1% C 0.049 H 266.7°. Best body text is #FFFFFF at 17.76:1 contrast (WCAG AA passes).

Color values

HEX#0E172F
RGBrgb(14, 23, 47)
HSLhsl(224, 54%, 12%)
HSVhsv(224, 70%, 18%)
CMYKcmyk(70.2%, 51.1%, 0%, 81.6%)
CIE-LABlab(8.23, 5.14, -17.34)
CIE-LCHlch(8.23, 18.09, 286.50°)
OKLaboklab(21.07% -0.0028 -0.0493)
OKLCHoklch(21.07% 0.049 266.7)
XYZxyz(1.0004, 0.9113, 2.8120)
Luminance0.0091 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E172F #2F260E
analogous
#0E282F #0E172F #160E2F
triadic
#0E172F #2F0E17 #172F0E
tetradic
#0E172F #2F0E28 #2F260E #0E2F16
square
#0E172F #2F0E28 #2F260E #0E2F16
split-complementary
#0E172F #2F160E #282F0E
monochromatic
#070C18 #070C18 #0E172F #1C2E5E #2A458D

Accessibility & contrast

On white

17.76
#0E172F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#0E172F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E172F
17.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E172F#FFFFFF#000000##FFFFFF
##0E172F1.0017.761.1817.76
#FFFFFF17.761.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D1A30
Deuteranopia (green-blind)
#08172E
Tritanopia (blue-blind)
#001C20
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #0e172f;
/* rgb */ color: rgb(14, 23, 47);
/* oklch */ color: oklch(21.1% 0.049 266.7);
Tailwind
colors: {
  custom: {
    50: '#505367',
    500: '#0e172f',
    950: '#000000',
  },
}
SCSS
$custom: #0e172f;
$custom-light: #505367;
$custom-dark: #000000;
JSON
{
  "hex": "#0e172f",
  "rgb": {
    "r": 14,
    "g": 23,
    "b": 47
  },
  "hsl": {
    "h": 223.636,
    "s": 54.098,
    "l": 11.961
  },
  "oklch": {
    "l": 0.21066,
    "c": 0.0494,
    "h": 266.7
  },
  "luminance": 0.00911
}

Semantic roles & 50–950 ramp

primary
#0E172F
secondary
#695A2F
accent
#B54ADD
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020206
muted
#78787A

Preview Lab

Preview with #0E172F

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

Preview Lab → · Contrast checker → · Palette generator →

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