#0E1C5D#0E1C5D

#0E1C5D is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.6% C 0.117 H 267.7°. Best body text is #FFFFFF at 15.64:1 contrast (WCAG AA passes).

Color values

HEX#0E1C5D
RGBrgb(14, 28, 93)
HSLhsl(229, 74%, 21%)
HSVhsv(229, 85%, 36%)
CMYKcmyk(84.9%, 69.9%, 0%, 63.5%)
CIE-LABlab(13.91, 21.19, -40.29)
CIE-LCHlch(13.91, 45.52, 297.74°)
OKLaboklab(26.61% -0.0047 -0.1166)
OKLCHoklch(26.61% 0.117 267.7)
XYZxyz(2.5715, 1.7139, 10.5491)
Luminance0.0171 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E1C5D #5D4F0E
analogous
#0E435D #0E1C5D #270E5D
triadic
#0E1C5D #5D0E1C #1C5D0E
tetradic
#0E1C5D #5D0E43 #5D4F0E #0E5D27
square
#0E1C5D #5D0E43 #5D4F0E #0E5D27
split-complementary
#0E1C5D #5D270E #435D0E
monochromatic
#04081B #060C28 #0E1C5D #162C92 #1E3CC7

Accessibility & contrast

On white

15.64
#0E1C5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#0E1C5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E1C5D
15.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E1C5D#FFFFFF#000000##FFFFFF
##0E1C5D1.0015.641.3415.64
#FFFFFF15.641.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275F
Deuteranopia (green-blind)
#00205C
Tritanopia (blue-blind)
#002D39
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #0e1c5d;
/* rgb */ color: rgb(14, 28, 93);
/* oklch */ color: oklch(26.6% 0.117 267.7);
Tailwind
colors: {
  custom: {
    50: '#5c588c',
    500: '#0e1c5d',
    950: '#000000',
  },
}
SCSS
$custom: #0e1c5d;
$custom-light: #5c588c;
$custom-dark: #000000;
JSON
{
  "hex": "#0e1c5d",
  "rgb": {
    "r": 14,
    "g": 28,
    "b": 93
  },
  "hsl": {
    "h": 229.367,
    "s": 73.832,
    "l": 20.98
  },
  "oklch": {
    "l": 0.26614,
    "c": 0.11674,
    "h": 267.7
  },
  "luminance": 0.01714
}

Semantic roles & 50–950 ramp

primary
#0E1C5D
secondary
#978530
accent
#D037F0
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #0E1C5D

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

Preview Lab → · Contrast checker → · Palette generator →

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