#0E173D#0E173D

#0E173D is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.3% C 0.074 H 269.5°. Best body text is #FFFFFF at 17.38:1 contrast (WCAG AA passes).

Color values

HEX#0E173D
RGBrgb(14, 23, 61)
HSLhsl(229, 63%, 15%)
HSVhsv(229, 77%, 24%)
CMYKcmyk(77%, 62.3%, 0%, 76.1%)
CIE-LABlab(9.34, 11.23, -25.68)
CIE-LCHlch(9.34, 28.03, 293.62°)
OKLaboklab(22.27% -0.0007 -0.0738)
OKLCHoklch(22.27% 0.074 269.5)
XYZxyz(1.3295, 1.0430, 4.5452)
Luminance0.0104 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E173D #3D340E
analogous
#0E2F3D #0E173D #1D0E3D
triadic
#0E173D #3D0E17 #173D0E
tetradic
#0E173D #3D0E2F #3D340E #0E3D1D
square
#0E173D #3D0E2F #3D340E #0E3D1D
split-complementary
#0E173D #3D1D0E #2F3D0E
monochromatic
#060919 #060919 #0E173D #192A6F #253DA1

Accessibility & contrast

On white

17.38
#0E173D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#0E173D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E173D
17.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E173D#FFFFFF#000000##FFFFFF
##0E173D1.0017.381.2117.38
#FFFFFF17.381.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C3E
Deuteranopia (green-blind)
#00183C
Tritanopia (blue-blind)
#002027
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #0e173d;
/* rgb */ color: rgb(14, 23, 61);
/* oklch */ color: oklch(22.3% 0.074 269.5);
Tailwind
colors: {
  custom: {
    50: '#535373',
    500: '#0e173d',
    950: '#000000',
  },
}
SCSS
$custom: #0e173d;
$custom-light: #535373;
$custom-dark: #000000;
JSON
{
  "hex": "#0e173d",
  "rgb": {
    "r": 14,
    "g": 23,
    "b": 61
  },
  "hsl": {
    "h": 228.511,
    "s": 62.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.22271,
    "c": 0.07384,
    "h": 269.5
  },
  "luminance": 0.01043
}

Semantic roles & 50–950 ramp

primary
#0E173D
secondary
#786A2F
accent
#C642E6
background
#F5F4F7
surface
#E8E7ED
border
#C4C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #0E173D

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

Preview Lab → · Contrast checker → · Palette generator →

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