#0E124E#0E124E

#0E124E is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.0% C 0.108 H 271.5°. Best body text is #FFFFFF at 17.28:1 contrast (WCAG AA passes).

Color values

HEX#0E124E
RGBrgb(14, 18, 78)
HSLhsl(236, 70%, 18%)
HSVhsv(236, 82%, 31%)
CMYKcmyk(82.1%, 76.9%, 0%, 69.4%)
CIE-LABlab(9.61, 22.21, -37.17)
CIE-LCHlch(9.61, 43.30, 300.85°)
OKLaboklab(22.99% 0.0028 -0.1076)
OKLCHoklch(22.99% 0.108 271.5)
XYZxyz(1.7721, 1.0758, 7.3205)
Luminance0.0108 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E124E #4E4A0E
analogous
#0E324E #0E124E #2A0E4E
triadic
#0E124E #4E0E12 #124E0E
tetradic
#0E124E #4E0E32 #4E4A0E #0E4E2A
square
#0E124E #4E0E32 #4E4A0E #0E4E2A
split-complementary
#0E124E #4E2A0E #324E0E
monochromatic
#05061A #05061A #0E124E #171E82 #212AB6

Accessibility & contrast

On white

17.28
#0E124E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#0E124E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E124E
17.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E124E#FFFFFF#000000##FFFFFF
##0E124E1.0017.281.2217.28
#FFFFFF17.281.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E50
Deuteranopia (green-blind)
#00184D
Tritanopia (blue-blind)
#00232E
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #0e124e;
/* rgb */ color: rgb(14, 18, 78);
/* oklch */ color: oklch(23.0% 0.108 271.5);
Tailwind
colors: {
  custom: {
    50: '#595080',
    500: '#0e124e',
    950: '#000000',
  },
}
SCSS
$custom: #0e124e;
$custom-light: #595080;
$custom-dark: #000000;
JSON
{
  "hex": "#0e124e",
  "rgb": {
    "r": 14,
    "g": 18,
    "b": 78
  },
  "hsl": {
    "h": 236.25,
    "s": 69.565,
    "l": 18.039
  },
  "oklch": {
    "l": 0.22993,
    "c": 0.10761,
    "h": 271.5
  },
  "luminance": 0.01076
}

Semantic roles & 50–950 ramp

primary
#0E124E
secondary
#89832F
accent
#E13BEC
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #0E124E

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

Preview Lab → · Contrast checker → · Palette generator →

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