#0E1A54#0E1A54

#0E1A54 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.2% C 0.106 H 268.4°. Best body text is #FFFFFF at 16.22:1 contrast (WCAG AA passes).

Color values

HEX#0E1A54
RGBrgb(14, 26, 84)
HSLhsl(230, 71%, 19%)
HSVhsv(230, 83%, 33%)
CMYKcmyk(83.3%, 69%, 0%, 67.1%)
CIE-LABlab(12.43, 18.87, -36.65)
CIE-LCHlch(12.43, 41.22, 297.25°)
OKLaboklab(25.25% -0.003 -0.106)
OKLCHoklch(25.25% 0.106 268.4)
XYZxyz(2.1502, 1.4720, 8.5566)
Luminance0.0147 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E1A54 #54480E
analogous
#0E3D54 #0E1A54 #250E54
triadic
#0E1A54 #540E1A #1A540E
tetradic
#0E1A54 #540E3D #54480E #0E5425
square
#0E1A54 #540E3D #54480E #0E5425
split-complementary
#0E1A54 #54250E #3D540E
monochromatic
#04081A #050A20 #0E1A54 #172A88 #1F3ABD

Accessibility & contrast

On white

16.22
#0E1A54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#0E1A54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E1A54
16.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E1A54#FFFFFF#000000##FFFFFF
##0E1A541.0016.221.2916.22
#FFFFFF16.221.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002456
Deuteranopia (green-blind)
#001D53
Tritanopia (blue-blind)
#002934
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #0e1a54;
/* rgb */ color: rgb(14, 26, 84);
/* oklch */ color: oklch(25.2% 0.106 268.4);
Tailwind
colors: {
  custom: {
    50: '#5a5685',
    500: '#0e1a54',
    950: '#000000',
  },
}
SCSS
$custom: #0e1a54;
$custom-light: #5a5685;
$custom-dark: #000000;
JSON
{
  "hex": "#0e1a54",
  "rgb": {
    "r": 14,
    "g": 26,
    "b": 84
  },
  "hsl": {
    "h": 229.714,
    "s": 71.429,
    "l": 19.216
  },
  "oklch": {
    "l": 0.25245,
    "c": 0.10604,
    "h": 268.4
  },
  "luminance": 0.01472
}

Semantic roles & 50–950 ramp

primary
#0E1A54
secondary
#8E7E2F
accent
#CF3AEE
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030B
muted
#79787C

Preview Lab

Preview with #0E1A54

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

Preview Lab → · Contrast checker → · Palette generator →

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