#0E173A#0E173A

#0E173A is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.0% C 0.069 H 269.2°. Best body text is #FFFFFF at 17.47:1 contrast (WCAG AA passes).

Color values

HEX#0E173A
RGBrgb(14, 23, 58)
HSLhsl(228, 61%, 14%)
HSVhsv(228, 76%, 23%)
CMYKcmyk(75.9%, 60.3%, 0%, 77.3%)
CIE-LABlab(9.09, 9.92, -23.95)
CIE-LCHlch(9.09, 25.93, 292.50°)
OKLaboklab(22% -0.001 -0.0687)
OKLCHoklch(22% 0.069 269.2)
XYZxyz(1.2510, 1.0115, 4.1315)
Luminance0.0101 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E173A #3A310E
analogous
#0E2D3A #0E173A #1B0E3A
triadic
#0E173A #3A0E17 #173A0E
tetradic
#0E173A #3A0E2D #3A310E #0E3A1B
square
#0E173A #3A0E2D #3A310E #0E3A1B
split-complementary
#0E173A #3A1B0E #2D3A0E
monochromatic
#060A19 #060A19 #0E173A #1A2B6B #263E9D

Accessibility & contrast

On white

17.47
#0E173A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0E173A
17.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E173A#FFFFFF#000000##FFFFFF
##0E173A1.0017.471.2017.47
#FFFFFF17.471.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031C3B
Deuteranopia (green-blind)
#001839
Tritanopia (blue-blind)
#001F25
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #0e173a;
/* rgb */ color: rgb(14, 23, 58);
/* oklch */ color: oklch(22.0% 0.069 269.2);
Tailwind
colors: {
  custom: {
    50: '#535370',
    500: '#0e173a',
    950: '#000000',
  },
}
SCSS
$custom: #0e173a;
$custom-light: #535370;
$custom-dark: #000000;
JSON
{
  "hex": "#0e173a",
  "rgb": {
    "r": 14,
    "g": 23,
    "b": 58
  },
  "hsl": {
    "h": 227.727,
    "s": 61.111,
    "l": 14.118
  },
  "oklch": {
    "l": 0.21996,
    "c": 0.06876,
    "h": 269.2
  },
  "luminance": 0.01012
}

Semantic roles & 50–950 ramp

primary
#0E173A
secondary
#75672F
accent
#C344E4
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#030207
muted
#78787A

Preview Lab

Preview with #0E173A

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

Preview Lab → · Contrast checker → · Palette generator →

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