#0E174A#0E174A

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

Color values

HEX#0E174A
RGBrgb(14, 23, 74)
HSLhsl(231, 68%, 17%)
HSVhsv(231, 81%, 29%)
CMYKcmyk(81.1%, 68.9%, 0%, 71%)
CIE-LABlab(10.56, 16.86, -32.84)
CIE-LCHlch(10.56, 36.92, 297.18°)
OKLaboklab(23.56% -0.0004 -0.0949)
OKLCHoklch(23.56% 0.095 269.7)
XYZxyz(1.7231, 1.2004, 6.6181)
Luminance0.0120 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E174A #4A410E
analogous
#0E354A #0E174A #230E4A
triadic
#0E174A #4A0E17 #174A0E
tetradic
#0E174A #4A0E35 #4A410E #0E4A23
square
#0E174A #4A0E35 #4A410E #0E4A23
split-complementary
#0E174A #4A230E #354A0E
monochromatic
#05081A #05081A #0E174A #18277D #2137B1

Accessibility & contrast

On white

16.93
#0E174A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#0E174A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E174A
16.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E174A#FFFFFF#000000##FFFFFF
##0E174A1.0016.931.2416.93
#FFFFFF16.931.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F4C
Deuteranopia (green-blind)
#001A49
Tritanopia (blue-blind)
#00242D
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #0e174a;
/* rgb */ color: rgb(14, 23, 74);
/* oklch */ color: oklch(23.6% 0.095 269.7);
Tailwind
colors: {
  custom: {
    50: '#57537d',
    500: '#0e174a',
    950: '#000000',
  },
}
SCSS
$custom: #0e174a;
$custom-light: #57537d;
$custom-dark: #000000;
JSON
{
  "hex": "#0e174a",
  "rgb": {
    "r": 14,
    "g": 23,
    "b": 74
  },
  "hsl": {
    "h": 231,
    "s": 68.182,
    "l": 17.255
  },
  "oklch": {
    "l": 0.23558,
    "c": 0.09488,
    "h": 269.7
  },
  "luminance": 0.01201
}

Semantic roles & 50–950 ramp

primary
#0E174A
secondary
#85782F
accent
#D13DEB
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #0E174A

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

Preview Lab → · Contrast checker → · Palette generator →

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