#0E172E#0E172E

#0E172E is a very dark, muted blue. Relative luminance 0.009; OKLCH L 21.0% C 0.048 H 266.3°. Best body text is #FFFFFF at 17.79:1 contrast (WCAG AA passes).

Color values

HEX#0E172E
RGBrgb(14, 23, 46)
HSLhsl(223, 53%, 12%)
HSVhsv(223, 70%, 18%)
CMYKcmyk(69.6%, 50%, 0%, 82%)
CIE-LABlab(8.16, 4.71, -16.72)
CIE-LCHlch(8.16, 17.37, 285.74°)
OKLaboklab(20.99% -0.0031 -0.0475)
OKLCHoklch(20.99% 0.048 266.3)
XYZxyz(0.9805, 0.9033, 2.7069)
Luminance0.0090 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E172E #2E250E
analogous
#0E272E #0E172E #150E2E
triadic
#0E172E #2E0E17 #172E0E
tetradic
#0E172E #2E0E27 #2E250E #0E2E15
square
#0E172E #2E0E27 #2E250E #0E2E15
split-complementary
#0E172E #2E150E #272E0E
monochromatic
#070C17 #070C17 #0E172E #1C2E5D #2B468C

Accessibility & contrast

On white

17.79
#0E172E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0E172E
17.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E172E#FFFFFF#000000##FFFFFF
##0E172E1.0017.791.1817.79
#FFFFFF17.791.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0e172e;
/* rgb */ color: rgb(14, 23, 46);
/* oklch */ color: oklch(21.0% 0.048 266.3);
Tailwind
colors: {
  custom: {
    50: '#505367',
    500: '#0e172e',
    950: '#000000',
  },
}
SCSS
$custom: #0e172e;
$custom-light: #505367;
$custom-dark: #000000;
JSON
{
  "hex": "#0e172e",
  "rgb": {
    "r": 14,
    "g": 23,
    "b": 46
  },
  "hsl": {
    "h": 223.125,
    "s": 53.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.20989,
    "c": 0.04759,
    "h": 266.3
  },
  "luminance": 0.00903
}

Semantic roles & 50–950 ramp

primary
#0E172E
secondary
#685830
accent
#B44BDD
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020206
muted
#78787A

Preview Lab

Preview with #0E172E

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

Preview Lab → · Contrast checker → · Palette generator →

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