#0E173B#0E173B

#0E173B is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.1% C 0.070 H 269.3°. Best body text is #FFFFFF at 17.44:1 contrast (WCAG AA passes).

Color values

HEX#0E173B
RGBrgb(14, 23, 59)
HSLhsl(228, 62%, 14%)
HSVhsv(228, 76%, 23%)
CMYKcmyk(76.3%, 61%, 0%, 76.9%)
CIE-LABlab(9.17, 10.35, -24.53)
CIE-LCHlch(9.17, 26.63, 292.88°)
OKLaboklab(22.09% -0.0009 -0.0705)
OKLCHoklch(22.09% 0.07 269.3)
XYZxyz(1.2766, 1.0218, 4.2668)
Luminance0.0102 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E173B #3B320E
analogous
#0E2E3B #0E173B #1C0E3B
triadic
#0E173B #3B0E17 #173B0E
tetradic
#0E173B #3B0E2E #3B320E #0E3B1C
square
#0E173B #3B0E2E #3B320E #0E3B1C
split-complementary
#0E173B #3B1C0E #2E3B0E
monochromatic
#060A19 #060A19 #0E173B #1A2A6C #253E9E

Accessibility & contrast

On white

17.44
#0E173B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#0E173B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E173B
17.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E173B#FFFFFF#000000##FFFFFF
##0E173B1.0017.441.2017.44
#FFFFFF17.441.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021C3C
Deuteranopia (green-blind)
#00183A
Tritanopia (blue-blind)
#002026
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #0e173b;
/* rgb */ color: rgb(14, 23, 59);
/* oklch */ color: oklch(22.1% 0.070 269.3);
Tailwind
colors: {
  custom: {
    50: '#535371',
    500: '#0e173b',
    950: '#000000',
  },
}
SCSS
$custom: #0e173b;
$custom-light: #535371;
$custom-dark: #000000;
JSON
{
  "hex": "#0e173b",
  "rgb": {
    "r": 14,
    "g": 23,
    "b": 59
  },
  "hsl": {
    "h": 228,
    "s": 61.644,
    "l": 14.314
  },
  "oklch": {
    "l": 0.22087,
    "c": 0.07047,
    "h": 269.3
  },
  "luminance": 0.01022
}

Semantic roles & 50–950 ramp

primary
#0E173B
secondary
#76682F
accent
#C443E5
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#030207
muted
#78787A

Preview Lab

Preview with #0E173B

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

Preview Lab → · Contrast checker → · Palette generator →

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