#0E174C#0E174C

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

Color values

HEX#0E174C
RGBrgb(14, 23, 76)
HSLhsl(231, 69%, 18%)
HSVhsv(231, 82%, 30%)
CMYKcmyk(81.6%, 69.7%, 0%, 70.2%)
CIE-LABlab(10.76, 17.72, -33.90)
CIE-LCHlch(10.76, 38.25, 297.60°)
OKLaboklab(23.77% -0.0005 -0.098)
OKLCHoklch(23.77% 0.098 269.7)
XYZxyz(1.7916, 1.2278, 6.9786)
Luminance0.0123 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E174C #4C430E
analogous
#0E364C #0E174C #240E4C
triadic
#0E174C #4C0E17 #174C0E
tetradic
#0E174C #4C0E36 #4C430E #0E4C24
square
#0E174C #4C0E36 #4C430E #0E4C24
split-complementary
#0E174C #4C240E #364C0E
monochromatic
#05081A #05081A #0E174C #182780 #2136B3

Accessibility & contrast

On white

16.86
#0E174C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0E174C
16.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E174C#FFFFFF#000000##FFFFFF
##0E174C1.0016.861.2516.86
#FFFFFF16.861.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0e174c;
/* rgb */ color: rgb(14, 23, 76);
/* oklch */ color: oklch(23.8% 0.098 269.7);
Tailwind
colors: {
  custom: {
    50: '#58537f',
    500: '#0e174c',
    950: '#000000',
  },
}
SCSS
$custom: #0e174c;
$custom-light: #58537f;
$custom-dark: #000000;
JSON
{
  "hex": "#0e174c",
  "rgb": {
    "r": 14,
    "g": 23,
    "b": 76
  },
  "hsl": {
    "h": 231.29,
    "s": 68.889,
    "l": 17.647
  },
  "oklch": {
    "l": 0.23768,
    "c": 0.09798,
    "h": 269.7
  },
  "luminance": 0.01228
}

Semantic roles & 50–950 ramp

primary
#0E174C
secondary
#877A2F
accent
#D23CEC
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #0E174C

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

Preview Lab → · Contrast checker → · Palette generator →

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