#0E1254#0E1254

#0E1254 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.7% C 0.116 H 270.9°. Best body text is #FFFFFF at 17.03:1 contrast (WCAG AA passes).

Color values

HEX#0E1254
RGBrgb(14, 18, 84)
HSLhsl(237, 71%, 19%)
HSVhsv(237, 83%, 33%)
CMYKcmyk(83.3%, 78.6%, 0%, 67.1%)
CIE-LABlab(10.30, 24.60, -40.15)
CIE-LCHlch(10.30, 47.08, 301.50°)
OKLaboklab(23.7% 0.0018 -0.1162)
OKLCHoklch(23.7% 0.116 270.9)
XYZxyz(1.9971, 1.1658, 8.5056)
Luminance0.0117 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E1254 #54500E
analogous
#0E3554 #0E1254 #2D0E54
triadic
#0E1254 #540E12 #12540E
tetradic
#0E1254 #540E35 #54500E #0E542D
square
#0E1254 #540E35 #54500E #0E542D
split-complementary
#0E1254 #542D0E #35540E
monochromatic
#04061A #050720 #0E1254 #171D88 #1F28BD

Accessibility & contrast

On white

17.03
#0E1254 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#0E1254 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E1254
17.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E1254#FFFFFF#000000##FFFFFF
##0E12541.0017.031.2317.03
#FFFFFF17.031.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F56
Deuteranopia (green-blind)
#001953
Tritanopia (blue-blind)
#002531
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #0e1254;
/* rgb */ color: rgb(14, 18, 84);
/* oklch */ color: oklch(23.7% 0.116 270.9);
Tailwind
colors: {
  custom: {
    50: '#5b5085',
    500: '#0e1254',
    950: '#000000',
  },
}
SCSS
$custom: #0e1254;
$custom-light: #5b5085;
$custom-dark: #000000;
JSON
{
  "hex": "#0e1254",
  "rgb": {
    "r": 14,
    "g": 18,
    "b": 84
  },
  "hsl": {
    "h": 236.571,
    "s": 71.429,
    "l": 19.216
  },
  "oklch": {
    "l": 0.23701,
    "c": 0.11624,
    "h": 270.9
  },
  "luminance": 0.01166
}

Semantic roles & 50–950 ramp

primary
#0E1254
secondary
#8E892F
accent
#E43AEE
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#04020B
muted
#79787C

Preview Lab

Preview with #0E1254

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

Preview Lab → · Contrast checker → · Palette generator →

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