#0E1828#0E1828

#0E1828 is a very dark, muted blue. Relative luminance 0.009; OKLCH L 20.8% C 0.035 H 259.5°. Best body text is #FFFFFF at 17.80:1 contrast (WCAG AA passes).

Color values

HEX#0E1828
RGBrgb(14, 24, 40)
HSLhsl(217, 48%, 11%)
HSVhsv(217, 65%, 16%)
CMYKcmyk(65%, 40%, 0%, 84.3%)
CIE-LABlab(8.13, 1.41, -12.32)
CIE-LCHlch(8.13, 12.40, 276.55°)
OKLaboklab(20.84% -0.0064 -0.0347)
OKLCHoklch(20.84% 0.035 259.5)
XYZxyz(0.8906, 0.8998, 2.1338)
Luminance0.0090 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E1828 #281E0E
analogous
#0E2528 #0E1828 #110E28
triadic
#0E1828 #280E18 #18280E
tetradic
#0E1828 #280E25 #281E0E #0E2811
square
#0E1828 #280E25 #281E0E #0E2811
split-complementary
#0E1828 #28110E #25280E
monochromatic
#080E17 #080E17 #0E1828 #1E3355 #2E4E83

Accessibility & contrast

On white

17.80
#0E1828 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#0E1828 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E1828
17.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E1828#FFFFFF#000000##FFFFFF
##0E18281.0017.801.1817.80
#FFFFFF17.801.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#121929
Deuteranopia (green-blind)
#0F1728
Tritanopia (blue-blind)
#031C1E
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #0e1828;
/* rgb */ color: rgb(14, 24, 40);
/* oklch */ color: oklch(20.8% 0.035 259.5);
Tailwind
colors: {
  custom: {
    50: '#4e5462',
    500: '#0e1828',
    950: '#000000',
  },
}
SCSS
$custom: #0e1828;
$custom-light: #4e5462;
$custom-dark: #000000;
JSON
{
  "hex": "#0e1828",
  "rgb": {
    "r": 14,
    "g": 24,
    "b": 40
  },
  "hsl": {
    "h": 216.923,
    "s": 48.148,
    "l": 10.588
  },
  "oklch": {
    "l": 0.20835,
    "c": 0.03525,
    "h": 259.5
  },
  "luminance": 0.009
}

Semantic roles & 50–950 ramp

primary
#0E1828
secondary
#614F30
accent
#A450D8
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#020205
muted
#787879

Preview Lab

Preview with #0E1828

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

Preview Lab → · Contrast checker → · Palette generator →

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