#0E1C59#0E1C59

#0E1C59 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 26.2% C 0.111 H 267.6°. Best body text is #FFFFFF at 15.80:1 contrast (WCAG AA passes).

Color values

HEX#0E1C59
RGBrgb(14, 28, 89)
HSLhsl(229, 73%, 20%)
HSVhsv(229, 84%, 35%)
CMYKcmyk(84.3%, 68.5%, 0%, 65.1%)
CIE-LABlab(13.50, 19.51, -38.28)
CIE-LCHlch(13.50, 42.96, 297.00°)
OKLaboklab(26.19% -0.0045 -0.1107)
OKLCHoklch(26.19% 0.111 267.6)
XYZxyz(2.3989, 1.6449, 9.6403)
Luminance0.0164 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E1C59 #594B0E
analogous
#0E4159 #0E1C59 #250E59
triadic
#0E1C59 #590E1C #1C590E
tetradic
#0E1C59 #590E41 #594B0E #0E5925
square
#0E1C59 #590E41 #594B0E #0E5925
split-complementary
#0E1C59 #59250E #41590E
monochromatic
#04081A #060B24 #0E1C59 #162D8E #1F3DC3

Accessibility & contrast

On white

15.80
#0E1C59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#0E1C59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E1C59
15.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E1C59#FFFFFF#000000##FFFFFF
##0E1C591.0015.801.3315.80
#FFFFFF15.801.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265B
Deuteranopia (green-blind)
#001F58
Tritanopia (blue-blind)
#002C37
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #0e1c59;
/* rgb */ color: rgb(14, 28, 89);
/* oklch */ color: oklch(26.2% 0.111 267.6);
Tailwind
colors: {
  custom: {
    50: '#5b5789',
    500: '#0e1c59',
    950: '#000000',
  },
}
SCSS
$custom: #0e1c59;
$custom-light: #5b5789;
$custom-dark: #000000;
JSON
{
  "hex": "#0e1c59",
  "rgb": {
    "r": 14,
    "g": 28,
    "b": 89
  },
  "hsl": {
    "h": 228.8,
    "s": 72.816,
    "l": 20.196
  },
  "oklch": {
    "l": 0.2619,
    "c": 0.11083,
    "h": 267.6
  },
  "luminance": 0.01645
}

Semantic roles & 50–950 ramp

primary
#0E1C59
secondary
#938130
accent
#CD38F0
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#04030B
muted
#79787C

Preview Lab

Preview with #0E1C59

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

Preview Lab → · Contrast checker → · Palette generator →

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