#0E1C4D#0E1C4D

#0E1C4D is a very dark, moderate blue. Relative luminance 0.015; OKLCH L 25.0% C 0.092 H 267.2°. Best body text is #FFFFFF at 16.25:1 contrast (WCAG AA passes).

Color values

HEX#0E1C4D
RGBrgb(14, 28, 77)
HSLhsl(227, 69%, 18%)
HSVhsv(227, 82%, 30%)
CMYKcmyk(81.8%, 63.6%, 0%, 69.8%)
CIE-LABlab(12.35, 14.35, -32.00)
CIE-LCHlch(12.35, 35.07, 294.15°)
OKLaboklab(24.98% -0.0046 -0.0923)
OKLCHoklch(24.98% 0.092 267.2)
XYZxyz(1.9354, 1.4595, 7.1994)
Luminance0.0146 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E1C4D #4D3F0E
analogous
#0E3B4D #0E1C4D #200E4D
triadic
#0E1C4D #4D0E1C #1C4D0E
tetradic
#0E1C4D #4D0E3B #4D3F0E #0E4D20
square
#0E1C4D #4D0E3B #4D3F0E #0E4D20
split-complementary
#0E1C4D #4D200E #3B4D0E
monochromatic
#05091A #05091A #0E1C4D #172F81 #2142B5

Accessibility & contrast

On white

16.25
#0E1C4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0E1C4D
16.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E1C4D#FFFFFF#000000##FFFFFF
##0E1C4D1.0016.251.2916.25
#FFFFFF16.251.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00234F
Deuteranopia (green-blind)
#001D4C
Tritanopia (blue-blind)
#002831
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #0e1c4d;
/* rgb */ color: rgb(14, 28, 77);
/* oklch */ color: oklch(25.0% 0.092 267.2);
Tailwind
colors: {
  custom: {
    50: '#58577f',
    500: '#0e1c4d',
    950: '#000000',
  },
}
SCSS
$custom: #0e1c4d;
$custom-light: #58577f;
$custom-dark: #000000;
JSON
{
  "hex": "#0e1c4d",
  "rgb": {
    "r": 14,
    "g": 28,
    "b": 77
  },
  "hsl": {
    "h": 226.667,
    "s": 69.231,
    "l": 17.843
  },
  "oklch": {
    "l": 0.24976,
    "c": 0.09244,
    "h": 267.2
  },
  "luminance": 0.0146
}

Semantic roles & 50–950 ramp

primary
#0E1C4D
secondary
#88742F
accent
#C53CEC
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #0E1C4D

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

Preview Lab → · Contrast checker → · Palette generator →

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