#0E123E#0E123E

#0E123E is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.2% C 0.083 H 273.0°. Best body text is #FFFFFF at 17.88:1 contrast (WCAG AA passes).

Color values

HEX#0E123E
RGBrgb(14, 18, 62)
HSLhsl(235, 63%, 15%)
HSVhsv(235, 77%, 24%)
CMYKcmyk(77.4%, 71%, 0%, 75.7%)
CIE-LABlab(7.89, 15.56, -28.76)
CIE-LCHlch(7.89, 32.70, 298.41°)
OKLaboklab(21.22% 0.0044 -0.0829)
OKLCHoklch(21.22% 0.083 273)
XYZxyz(1.2666, 0.8737, 4.6584)
Luminance0.0087 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E123E #3E3A0E
analogous
#0E2A3E #0E123E #220E3E
triadic
#0E123E #3E0E12 #123E0E
tetradic
#0E123E #3E0E2A #3E3A0E #0E3E22
square
#0E123E #3E0E2A #3E3A0E #0E3E22
split-complementary
#0E123E #3E220E #2A3E0E
monochromatic
#060719 #060719 #0E123E #192070 #252FA2

Accessibility & contrast

On white

17.88
#0E123E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#0E123E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E123E
17.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E123E#FFFFFF#000000##FFFFFF
##0E123E1.0017.881.1717.88
#FFFFFF17.881.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3F
Deuteranopia (green-blind)
#00153D
Tritanopia (blue-blind)
#001D25
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #0e123e;
/* rgb */ color: rgb(14, 18, 62);
/* oklch */ color: oklch(21.2% 0.083 273.0);
Tailwind
colors: {
  custom: {
    50: '#544f74',
    500: '#0e123e',
    950: '#000000',
  },
}
SCSS
$custom: #0e123e;
$custom-light: #544f74;
$custom-dark: #000000;
JSON
{
  "hex": "#0e123e",
  "rgb": {
    "r": 14,
    "g": 18,
    "b": 62
  },
  "hsl": {
    "h": 235,
    "s": 63.158,
    "l": 14.902
  },
  "oklch": {
    "l": 0.21219,
    "c": 0.08307,
    "h": 273
  },
  "luminance": 0.00874
}

Semantic roles & 50–950 ramp

primary
#0E123E
secondary
#79732F
accent
#D842E6
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #0E123E

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

Preview Lab → · Contrast checker → · Palette generator →

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