#0E1854#0E1854

#0E1854 is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.8% C 0.109 H 269.1°. Best body text is #FFFFFF at 16.44:1 contrast (WCAG AA passes).

Color values

HEX#0E1854
RGBrgb(14, 24, 84)
HSLhsl(231, 71%, 19%)
HSVhsv(231, 83%, 33%)
CMYKcmyk(83.3%, 71.4%, 0%, 67.1%)
CIE-LABlab(11.87, 20.35, -37.57)
CIE-LCHlch(11.87, 42.73, 298.44°)
OKLaboklab(24.83% -0.0017 -0.1087)
OKLCHoklch(24.83% 0.109 269.1)
XYZxyz(2.1074, 1.3865, 8.5423)
Luminance0.0139 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E1854 #544A0E
analogous
#0E3B54 #0E1854 #270E54
triadic
#0E1854 #540E18 #18540E
tetradic
#0E1854 #540E3B #544A0E #0E5427
square
#0E1854 #540E3B #544A0E #0E5427
split-complementary
#0E1854 #54270E #3B540E
monochromatic
#04071A #050920 #0E1854 #172788 #1F36BD

Accessibility & contrast

On white

16.44
#0E1854 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#0E1854 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E1854
16.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E1854#FFFFFF#000000##FFFFFF
##0E18541.0016.441.2816.44
#FFFFFF16.441.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002356
Deuteranopia (green-blind)
#001C53
Tritanopia (blue-blind)
#002833
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #0e1854;
/* rgb */ color: rgb(14, 24, 84);
/* oklch */ color: oklch(24.8% 0.109 269.1);
Tailwind
colors: {
  custom: {
    50: '#5a5485',
    500: '#0e1854',
    950: '#000000',
  },
}
SCSS
$custom: #0e1854;
$custom-light: #5a5485;
$custom-dark: #000000;
JSON
{
  "hex": "#0e1854",
  "rgb": {
    "r": 14,
    "g": 24,
    "b": 84
  },
  "hsl": {
    "h": 231.429,
    "s": 71.429,
    "l": 19.216
  },
  "oklch": {
    "l": 0.24833,
    "c": 0.10873,
    "h": 269.1
  },
  "luminance": 0.01387
}

Semantic roles & 50–950 ramp

primary
#0E1854
secondary
#8E812F
accent
#D43AEE
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#04020B
muted
#79787C

Preview Lab

Preview with #0E1854

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

Preview Lab → · Contrast checker → · Palette generator →

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