#0E1B4D#0E1B4D

#0E1B4D is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.7% C 0.094 H 267.7°. Best body text is #FFFFFF at 16.37:1 contrast (WCAG AA passes).

Color values

HEX#0E1B4D
RGBrgb(14, 27, 77)
HSLhsl(228, 69%, 18%)
HSVhsv(228, 82%, 30%)
CMYKcmyk(81.8%, 64.9%, 0%, 69.8%)
CIE-LABlab(12.04, 15.11, -32.50)
CIE-LCHlch(12.04, 35.84, 294.94°)
OKLaboklab(24.75% -0.0037 -0.0938)
OKLCHoklch(24.75% 0.094 267.7)
XYZxyz(1.9121, 1.4128, 7.1917)
Luminance0.0141 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E1B4D #4D400E
analogous
#0E3A4D #0E1B4D #200E4D
triadic
#0E1B4D #4D0E1B #1B4D0E
tetradic
#0E1B4D #4D0E3A #4D400E #0E4D20
square
#0E1B4D #4D0E3A #4D400E #0E4D20
split-complementary
#0E1B4D #4D200E #3A4D0E
monochromatic
#05091A #05091A #0E1B4D #172D81 #213FB5

Accessibility & contrast

On white

16.37
#0E1B4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#0E1B4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E1B4D
16.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E1B4D#FFFFFF#000000##FFFFFF
##0E1B4D1.0016.371.2816.37
#FFFFFF16.371.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.371.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: #0e1b4d;
/* rgb */ color: rgb(14, 27, 77);
/* oklch */ color: oklch(24.7% 0.094 267.7);
Tailwind
colors: {
  custom: {
    50: '#58567f',
    500: '#0e1b4d',
    950: '#000000',
  },
}
SCSS
$custom: #0e1b4d;
$custom-light: #58567f;
$custom-dark: #000000;
JSON
{
  "hex": "#0e1b4d",
  "rgb": {
    "r": 14,
    "g": 27,
    "b": 77
  },
  "hsl": {
    "h": 227.619,
    "s": 69.231,
    "l": 17.843
  },
  "oklch": {
    "l": 0.24748,
    "c": 0.09387,
    "h": 267.7
  },
  "luminance": 0.01413
}

Semantic roles & 50–950 ramp

primary
#0E1B4D
secondary
#88752F
accent
#C83CEC
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #0E1B4D

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

Preview Lab → · Contrast checker → · Palette generator →

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