#0E174D#0E174D

#0E174D is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.9% C 0.100 H 269.7°. Best body text is #FFFFFF at 16.82:1 contrast (WCAG AA passes).

Color values

HEX#0E174D
RGBrgb(14, 23, 77)
HSLhsl(231, 69%, 18%)
HSVhsv(231, 82%, 30%)
CMYKcmyk(81.8%, 70.1%, 0%, 69.8%)
CIE-LABlab(10.86, 18.14, -34.42)
CIE-LCHlch(10.86, 38.91, 297.79°)
OKLaboklab(23.87% -0.0006 -0.0995)
OKLCHoklch(23.87% 0.1 269.7)
XYZxyz(1.8266, 1.2418, 7.1632)
Luminance0.0124 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E174D #4D440E
analogous
#0E364D #0E174D #250E4D
triadic
#0E174D #4D0E17 #174D0E
tetradic
#0E174D #4D0E36 #4D440E #0E4D25
square
#0E174D #4D0E36 #4D440E #0E4D25
split-complementary
#0E174D #4D250E #364D0E
monochromatic
#05081A #05081A #0E174D #172681 #2136B5

Accessibility & contrast

On white

16.82
#0E174D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#0E174D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E174D
16.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E174D#FFFFFF#000000##FFFFFF
##0E174D1.0016.821.2516.82
#FFFFFF16.821.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00204F
Deuteranopia (green-blind)
#001A4C
Tritanopia (blue-blind)
#00252F
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #0e174d;
/* rgb */ color: rgb(14, 23, 77);
/* oklch */ color: oklch(23.9% 0.100 269.7);
Tailwind
colors: {
  custom: {
    50: '#58537f',
    500: '#0e174d',
    950: '#000000',
  },
}
SCSS
$custom: #0e174d;
$custom-light: #58537f;
$custom-dark: #000000;
JSON
{
  "hex": "#0e174d",
  "rgb": {
    "r": 14,
    "g": 23,
    "b": 77
  },
  "hsl": {
    "h": 231.429,
    "s": 69.231,
    "l": 17.843
  },
  "oklch": {
    "l": 0.23874,
    "c": 0.09951,
    "h": 269.7
  },
  "luminance": 0.01242
}

Semantic roles & 50–950 ramp

primary
#0E174D
secondary
#887B2F
accent
#D33CEC
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #0E174D

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

Preview Lab → · Contrast checker → · Palette generator →

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