#0E1D56#0E1D56

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

Color values

HEX#0E1D56
RGBrgb(14, 29, 86)
HSLhsl(228, 72%, 20%)
HSVhsv(228, 84%, 34%)
CMYKcmyk(83.7%, 66.3%, 0%, 66.3%)
CIE-LABlab(13.49, 17.48, -36.26)
CIE-LCHlch(13.49, 40.26, 295.74°)
OKLaboklab(26.09% -0.0052 -0.1048)
OKLCHoklch(26.09% 0.105 267.2)
XYZxyz(2.2996, 1.6437, 8.9984)
Luminance0.0164 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E1D56 #56470E
analogous
#0E4156 #0E1D56 #230E56
triadic
#0E1D56 #560E1D #1D560E
tetradic
#0E1D56 #560E41 #56470E #0E5623
square
#0E1D56 #560E41 #56470E #0E5623
split-complementary
#0E1D56 #56230E #41560E
monochromatic
#04091A #050B21 #0E1D56 #172F8B #1F40BF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0E1D56#FFFFFF#000000##FFFFFF
##0E1D561.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)
#002658
Deuteranopia (green-blind)
#001F55
Tritanopia (blue-blind)
#002C36
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #0e1d56;
/* rgb */ color: rgb(14, 29, 86);
/* oklch */ color: oklch(26.1% 0.105 267.2);
Tailwind
colors: {
  custom: {
    50: '#5a5886',
    500: '#0e1d56',
    950: '#000000',
  },
}
SCSS
$custom: #0e1d56;
$custom-light: #5a5886;
$custom-dark: #000000;
JSON
{
  "hex": "#0e1d56",
  "rgb": {
    "r": 14,
    "g": 29,
    "b": 86
  },
  "hsl": {
    "h": 227.5,
    "s": 72,
    "l": 19.608
  },
  "oklch": {
    "l": 0.26094,
    "c": 0.10496,
    "h": 267.2
  },
  "luminance": 0.01644
}

Semantic roles & 50–950 ramp

primary
#0E1D56
secondary
#907C30
accent
#C939EF
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030B
muted
#79787C

Preview Lab

Preview with #0E1D56

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

Preview Lab → · Contrast checker → · Palette generator →

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