#0E173E#0E173E

#0E173E is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.4% C 0.076 H 269.5°. Best body text is #FFFFFF at 17.34:1 contrast (WCAG AA passes).

Color values

HEX#0E173E
RGBrgb(14, 23, 62)
HSLhsl(229, 63%, 15%)
HSVhsv(229, 77%, 24%)
CMYKcmyk(77.4%, 62.9%, 0%, 75.7%)
CIE-LABlab(9.43, 11.67, -26.25)
CIE-LCHlch(9.43, 28.73, 293.96°)
OKLaboklab(22.37% -0.0006 -0.0755)
OKLCHoklch(22.37% 0.076 269.5)
XYZxyz(1.3567, 1.0538, 4.6884)
Luminance0.0105 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E173E #3E350E
analogous
#0E2F3E #0E173E #1D0E3E
triadic
#0E173E #3E0E17 #173E0E
tetradic
#0E173E #3E0E2F #3E350E #0E3E1D
square
#0E173E #3E0E2F #3E350E #0E3E1D
split-complementary
#0E173E #3E1D0E #2F3E0E
monochromatic
#060919 #060919 #0E173E #192A70 #253CA2

Accessibility & contrast

On white

17.34
#0E173E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0E173E
17.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E173E#FFFFFF#000000##FFFFFF
##0E173E1.0017.341.2117.34
#FFFFFF17.341.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0e173e;
/* rgb */ color: rgb(14, 23, 62);
/* oklch */ color: oklch(22.4% 0.076 269.5);
Tailwind
colors: {
  custom: {
    50: '#545374',
    500: '#0e173e',
    950: '#000000',
  },
}
SCSS
$custom: #0e173e;
$custom-light: #545374;
$custom-dark: #000000;
JSON
{
  "hex": "#0e173e",
  "rgb": {
    "r": 14,
    "g": 23,
    "b": 62
  },
  "hsl": {
    "h": 228.75,
    "s": 63.158,
    "l": 14.902
  },
  "oklch": {
    "l": 0.22365,
    "c": 0.07552,
    "h": 269.5
  },
  "luminance": 0.01054
}

Semantic roles & 50–950 ramp

primary
#0E173E
secondary
#796B2F
accent
#C742E6
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #0E173E

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

Preview Lab → · Contrast checker → · Palette generator →

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