#0E1C56#0E1C56

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

Color values

HEX#0E1C56
RGBrgb(14, 28, 86)
HSLhsl(228, 72%, 20%)
HSVhsv(228, 84%, 34%)
CMYKcmyk(83.7%, 67.4%, 0%, 66.3%)
CIE-LABlab(13.20, 18.23, -36.74)
CIE-LCHlch(13.20, 41.02, 296.39°)
OKLaboklab(25.88% -0.0045 -0.1062)
OKLCHoklch(25.88% 0.106 267.6)
XYZxyz(2.2755, 1.5955, 8.9903)
Luminance0.0160 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E1C56 #56480E
analogous
#0E4056 #0E1C56 #240E56
triadic
#0E1C56 #560E1C #1C560E
tetradic
#0E1C56 #560E40 #56480E #0E5624
square
#0E1C56 #560E40 #56480E #0E5624
split-complementary
#0E1C56 #56240E #40560E
monochromatic
#04091A #050B21 #0E1C56 #172D8B #1F3EBF

Accessibility & contrast

On white

15.92
#0E1C56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#0E1C56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E1C56
15.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E1C56#FFFFFF#000000##FFFFFF
##0E1C561.0015.921.3215.92
#FFFFFF15.921.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002558
Deuteranopia (green-blind)
#001F55
Tritanopia (blue-blind)
#002B36
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #0e1c56;
/* rgb */ color: rgb(14, 28, 86);
/* oklch */ color: oklch(25.9% 0.106 267.6);
Tailwind
colors: {
  custom: {
    50: '#5a5786',
    500: '#0e1c56',
    950: '#000000',
  },
}
SCSS
$custom: #0e1c56;
$custom-light: #5a5786;
$custom-dark: #000000;
JSON
{
  "hex": "#0e1c56",
  "rgb": {
    "r": 14,
    "g": 28,
    "b": 86
  },
  "hsl": {
    "h": 228.333,
    "s": 72,
    "l": 19.608
  },
  "oklch": {
    "l": 0.25878,
    "c": 0.10633,
    "h": 267.6
  },
  "luminance": 0.01596
}

Semantic roles & 50–950 ramp

primary
#0E1C56
secondary
#907D30
accent
#CB39EF
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030B
muted
#79787C

Preview Lab

Preview with #0E1C56

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

Preview Lab → · Contrast checker → · Palette generator →

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