#0E1247#0E1247

#0E1247 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.2% C 0.097 H 272.1°. Best body text is #FFFFFF at 17.56:1 contrast (WCAG AA passes).

Color values

HEX#0E1247
RGBrgb(14, 18, 71)
HSLhsl(236, 67%, 17%)
HSVhsv(236, 80%, 28%)
CMYKcmyk(80.3%, 74.6%, 0%, 72.2%)
CIE-LABlab(8.83, 19.34, -33.58)
CIE-LCHlch(8.83, 38.76, 299.94°)
OKLaboklab(22.2% 0.0036 -0.0971)
OKLCHoklch(22.2% 0.097 272.1)
XYZxyz(1.5344, 0.9808, 6.0685)
Luminance0.0098 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E1247 #47430E
analogous
#0E2F47 #0E1247 #270E47
triadic
#0E1247 #470E12 #12470E
tetradic
#0E1247 #470E2F #47430E #0E4727
square
#0E1247 #470E2F #47430E #0E4727
split-complementary
#0E1247 #47270E #2F470E
monochromatic
#05061A #05061A #0E1247 #181F7A #222CAD

Accessibility & contrast

On white

17.56
#0E1247 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#0E1247 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E1247
17.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E1247#FFFFFF#000000##FFFFFF
##0E12471.0017.561.2017.56
#FFFFFF17.561.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C49
Deuteranopia (green-blind)
#001646
Tritanopia (blue-blind)
#00202A
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #0e1247;
/* rgb */ color: rgb(14, 18, 71);
/* oklch */ color: oklch(22.2% 0.097 272.1);
Tailwind
colors: {
  custom: {
    50: '#574f7b',
    500: '#0e1247',
    950: '#000000',
  },
}
SCSS
$custom: #0e1247;
$custom-light: #574f7b;
$custom-dark: #000000;
JSON
{
  "hex": "#0e1247",
  "rgb": {
    "r": 14,
    "g": 18,
    "b": 71
  },
  "hsl": {
    "h": 235.789,
    "s": 67.059,
    "l": 16.667
  },
  "oklch": {
    "l": 0.22195,
    "c": 0.09716,
    "h": 272.1
  },
  "luminance": 0.00981
}

Semantic roles & 50–950 ramp

primary
#0E1247
secondary
#827C2F
accent
#DE3EEA
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040209
muted
#79787B

Preview Lab

Preview with #0E1247

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

Preview Lab → · Contrast checker → · Palette generator →

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