#0E0E4F#0E0E4F

#0E0E4F is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.4% C 0.114 H 272.4°. Best body text is #FFFFFF at 17.58:1 contrast (WCAG AA passes).

Color values

HEX#0E0E4F
RGBrgb(14, 14, 79)
HSLhsl(240, 70%, 18%)
HSVhsv(240, 82%, 31%)
CMYKcmyk(82.3%, 82.3%, 0%, 69%)
CIE-LABlab(8.75, 25.30, -39.27)
CIE-LCHlch(8.75, 46.72, 302.79°)
OKLaboklab(22.42% 0.0048 -0.1137)
OKLCHoklch(22.42% 0.114 272.4)
XYZxyz(1.7489, 0.9718, 7.4910)
Luminance0.0097 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E0E4F #4F4F0E
analogous
#0E2E4F #0E0E4F #2E0E4F
triadic
#0E0E4F #4F0E0E #0E4F0E
tetradic
#0E0E4F #4F0E2E #4F4F0E #0E4F2E
square
#0E0E4F #4F0E2E #4F4F0E #0E4F2E
split-complementary
#0E0E4F #4F2E0E #2E4F0E
monochromatic
#05051A #05051B #0E0E4F #171783 #2020B7

Accessibility & contrast

On white

17.58
#0E0E4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#0E0E4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E0E4F
17.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E0E4F#FFFFFF#000000##FFFFFF
##0E0E4F1.0017.581.1917.58
#FFFFFF17.581.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C51
Deuteranopia (green-blind)
#00164E
Tritanopia (blue-blind)
#00212E
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #0e0e4f;
/* rgb */ color: rgb(14, 14, 79);
/* oklch */ color: oklch(22.4% 0.114 272.4);
Tailwind
colors: {
  custom: {
    50: '#5a4d81',
    500: '#0e0e4f',
    950: '#000000',
  },
}
SCSS
$custom: #0e0e4f;
$custom-light: #5a4d81;
$custom-dark: #000000;
JSON
{
  "hex": "#0e0e4f",
  "rgb": {
    "r": 14,
    "g": 14,
    "b": 79
  },
  "hsl": {
    "h": 240,
    "s": 69.892,
    "l": 18.235
  },
  "oklch": {
    "l": 0.22419,
    "c": 0.11376,
    "h": 272.4
  },
  "luminance": 0.00972
}

Semantic roles & 50–950 ramp

primary
#0E0E4F
secondary
#8A8A2F
accent
#ED3BED
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#04010A
muted
#79777C

Preview Lab

Preview with #0E0E4F

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

Preview Lab → · Contrast checker → · Palette generator →

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