#0E173F#0E173F

#0E173F is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.5% C 0.077 H 269.6°. Best body text is #FFFFFF at 17.31:1 contrast (WCAG AA passes).

Color values

HEX#0E173F
RGBrgb(14, 23, 63)
HSLhsl(229, 64%, 15%)
HSVhsv(229, 78%, 25%)
CMYKcmyk(77.8%, 63.5%, 0%, 75.3%)
CIE-LABlab(9.52, 12.10, -26.82)
CIE-LCHlch(9.52, 29.42, 294.29°)
OKLaboklab(22.46% -0.0005 -0.0772)
OKLCHoklch(22.46% 0.077 269.6)
XYZxyz(1.3844, 1.0649, 4.8343)
Luminance0.0106 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E173F #3F360E
analogous
#0E2F3F #0E173F #1E0E3F
triadic
#0E173F #3F0E17 #173F0E
tetradic
#0E173F #3F0E2F #3F360E #0E3F1E
square
#0E173F #3F0E2F #3F360E #0E3F1E
split-complementary
#0E173F #3F1E0E #2F3F0E
monochromatic
#060919 #060919 #0E173F #192971 #243CA3

Accessibility & contrast

On white

17.31
#0E173F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0E173F
17.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E173F#FFFFFF#000000##FFFFFF
##0E173F1.0017.311.2117.31
#FFFFFF17.311.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D40
Deuteranopia (green-blind)
#00183E
Tritanopia (blue-blind)
#002128
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #0e173f;
/* rgb */ color: rgb(14, 23, 63);
/* oklch */ color: oklch(22.5% 0.077 269.6);
Tailwind
colors: {
  custom: {
    50: '#545374',
    500: '#0e173f',
    950: '#000000',
  },
}
SCSS
$custom: #0e173f;
$custom-light: #545374;
$custom-dark: #000000;
JSON
{
  "hex": "#0e173f",
  "rgb": {
    "r": 14,
    "g": 23,
    "b": 63
  },
  "hsl": {
    "h": 228.98,
    "s": 63.636,
    "l": 15.098
  },
  "oklch": {
    "l": 0.2246,
    "c": 0.07718,
    "h": 269.6
  },
  "luminance": 0.01065
}

Semantic roles & 50–950 ramp

primary
#0E173F
secondary
#7A6C2F
accent
#C841E7
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #0E173F

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

Preview Lab → · Contrast checker → · Palette generator →

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