#0E1B4F#0E1B4F

#0E1B4F is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.9% C 0.097 H 267.8°. Best body text is #FFFFFF at 16.30:1 contrast (WCAG AA passes).

Color values

HEX#0E1B4F
RGBrgb(14, 27, 79)
HSLhsl(228, 70%, 18%)
HSVhsv(228, 82%, 31%)
CMYKcmyk(82.3%, 65.8%, 0%, 69%)
CIE-LABlab(12.23, 15.98, -33.56)
CIE-LCHlch(12.23, 37.17, 295.46°)
OKLaboklab(24.95% -0.0037 -0.0969)
OKLCHoklch(24.95% 0.097 267.8)
XYZxyz(1.9838, 1.4415, 7.5693)
Luminance0.0144 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E1B4F #4F420E
analogous
#0E3B4F #0E1B4F #210E4F
triadic
#0E1B4F #4F0E1B #1B4F0E
tetradic
#0E1B4F #4F0E3B #4F420E #0E4F21
square
#0E1B4F #4F0E3B #4F420E #0E4F21
split-complementary
#0E1B4F #4F210E #3B4F0E
monochromatic
#05091A #05091B #0E1B4F #172D83 #203FB7

Accessibility & contrast

On white

16.30
#0E1B4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0E1B4F
16.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E1B4F#FFFFFF#000000##FFFFFF
##0E1B4F1.0016.301.2916.30
#FFFFFF16.301.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002351
Deuteranopia (green-blind)
#001D4E
Tritanopia (blue-blind)
#002832
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #0e1b4f;
/* rgb */ color: rgb(14, 27, 79);
/* oklch */ color: oklch(24.9% 0.097 267.8);
Tailwind
colors: {
  custom: {
    50: '#585781',
    500: '#0e1b4f',
    950: '#000000',
  },
}
SCSS
$custom: #0e1b4f;
$custom-light: #585781;
$custom-dark: #000000;
JSON
{
  "hex": "#0e1b4f",
  "rgb": {
    "r": 14,
    "g": 27,
    "b": 79
  },
  "hsl": {
    "h": 228,
    "s": 69.892,
    "l": 18.235
  },
  "oklch": {
    "l": 0.24948,
    "c": 0.097,
    "h": 267.8
  },
  "luminance": 0.01442
}

Semantic roles & 50–950 ramp

primary
#0E1B4F
secondary
#8A782F
accent
#C93BED
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #0E1B4F

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

Preview Lab → · Contrast checker → · Palette generator →

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