#0E123F#0E123F

#0E123F is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.3% C 0.085 H 272.9°. Best body text is #FFFFFF at 17.84:1 contrast (WCAG AA passes).

Color values

HEX#0E123F
RGBrgb(14, 18, 63)
HSLhsl(235, 64%, 15%)
HSVhsv(235, 78%, 25%)
CMYKcmyk(77.8%, 71.4%, 0%, 75.3%)
CIE-LABlab(7.99, 15.99, -29.31)
CIE-LCHlch(7.99, 33.39, 298.61°)
OKLaboklab(21.32% 0.0043 -0.0846)
OKLCHoklch(21.32% 0.085 272.9)
XYZxyz(1.2943, 0.8847, 4.8042)
Luminance0.0089 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E123F #3F3B0E
analogous
#0E2A3F #0E123F #220E3F
triadic
#0E123F #3F0E12 #123F0E
tetradic
#0E123F #3F0E2A #3F3B0E #0E3F22
square
#0E123F #3F0E2A #3F3B0E #0E3F22
split-complementary
#0E123F #3F220E #2A3F0E
monochromatic
#060719 #060719 #0E123F #192071 #242FA3

Accessibility & contrast

On white

17.84
#0E123F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0E123F
17.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E123F#FFFFFF#000000##FFFFFF
##0E123F1.0017.841.1817.84
#FFFFFF17.841.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A40
Deuteranopia (green-blind)
#00153E
Tritanopia (blue-blind)
#001D26
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #0e123f;
/* rgb */ color: rgb(14, 18, 63);
/* oklch */ color: oklch(21.3% 0.085 272.9);
Tailwind
colors: {
  custom: {
    50: '#544f74',
    500: '#0e123f',
    950: '#000000',
  },
}
SCSS
$custom: #0e123f;
$custom-light: #544f74;
$custom-dark: #000000;
JSON
{
  "hex": "#0e123f",
  "rgb": {
    "r": 14,
    "g": 18,
    "b": 63
  },
  "hsl": {
    "h": 235.102,
    "s": 63.636,
    "l": 15.098
  },
  "oklch": {
    "l": 0.21324,
    "c": 0.08467,
    "h": 272.9
  },
  "luminance": 0.00885
}

Semantic roles & 50–950 ramp

primary
#0E123F
secondary
#7A742F
accent
#D941E7
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #0E123F

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

Preview Lab → · Contrast checker → · Palette generator →

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