#0E172B#0E172B

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

Color values

HEX#0E172B
RGBrgb(14, 23, 43)
HSLhsl(221, 51%, 11%)
HSVhsv(221, 67%, 17%)
CMYKcmyk(67.4%, 46.5%, 0%, 83.1%)
CIE-LABlab(7.95, 3.44, -14.83)
CIE-LCHlch(7.95, 15.22, 283.07°)
OKLaboklab(20.76% -0.0039 -0.042)
OKLCHoklch(20.76% 0.042 264.7)
XYZxyz(0.9234, 0.8805, 2.4063)
Luminance0.0088 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E172B #2B220E
analogous
#0E252B #0E172B #130E2B
triadic
#0E172B #2B0E17 #172B0E
tetradic
#0E172B #2B0E25 #2B220E #0E2B13
square
#0E172B #2B0E25 #2B220E #0E2B13
split-complementary
#0E172B #2B130E #252B0E
monochromatic
#080C17 #080C17 #0E172B #1D3059 #2C4887

Accessibility & contrast

On white

17.85
#0E172B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0E172B
17.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E172B#FFFFFF#000000##FFFFFF
##0E172B1.0017.851.1817.85
#FFFFFF17.851.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F192C
Deuteranopia (green-blind)
#0B162B
Tritanopia (blue-blind)
#021B1E
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #0e172b;
/* rgb */ color: rgb(14, 23, 43);
/* oklch */ color: oklch(20.8% 0.042 264.7);
Tailwind
colors: {
  custom: {
    50: '#4f5364',
    500: '#0e172b',
    950: '#000000',
  },
}
SCSS
$custom: #0e172b;
$custom-light: #4f5364;
$custom-dark: #000000;
JSON
{
  "hex": "#0e172b",
  "rgb": {
    "r": 14,
    "g": 23,
    "b": 43
  },
  "hsl": {
    "h": 221.379,
    "s": 50.877,
    "l": 11.176
  },
  "oklch": {
    "l": 0.20763,
    "c": 0.04214,
    "h": 264.7
  },
  "luminance": 0.00881
}

Semantic roles & 50–950 ramp

primary
#0E172B
secondary
#655430
accent
#AF4DDA
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020205
muted
#78787A

Preview Lab

Preview with #0E172B

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

Preview Lab → · Contrast checker → · Palette generator →

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