#0E1951#0E1951

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

Color values

HEX#0E1951
RGBrgb(14, 25, 81)
HSLhsl(230, 71%, 19%)
HSVhsv(230, 83%, 32%)
CMYKcmyk(82.7%, 69.1%, 0%, 68.2%)
CIE-LABlab(11.84, 18.34, -35.57)
CIE-LCHlch(11.84, 40.02, 297.28°)
OKLaboklab(24.72% -0.0022 -0.1028)
OKLCHoklch(24.72% 0.103 268.8)
XYZxyz(2.0134, 1.3825, 7.9437)
Luminance0.0138 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E1951 #51460E
analogous
#0E3A51 #0E1951 #240E51
triadic
#0E1951 #510E19 #19510E
tetradic
#0E1951 #510E3A #51460E #0E5124
square
#0E1951 #510E3A #51460E #0E5124
split-complementary
#0E1951 #51240E #3A510E
monochromatic
#05081A #05091D #0E1951 #172985 #2039B9

Accessibility & contrast

On white

16.45
#0E1951 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0E1951
16.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E1951#FFFFFF#000000##FFFFFF
##0E19511.0016.451.2816.45
#FFFFFF16.451.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002253
Deuteranopia (green-blind)
#001C50
Tritanopia (blue-blind)
#002832
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #0e1951;
/* rgb */ color: rgb(14, 25, 81);
/* oklch */ color: oklch(24.7% 0.103 268.8);
Tailwind
colors: {
  custom: {
    50: '#595582',
    500: '#0e1951',
    950: '#000000',
  },
}
SCSS
$custom: #0e1951;
$custom-light: #595582;
$custom-dark: #000000;
JSON
{
  "hex": "#0e1951",
  "rgb": {
    "r": 14,
    "g": 25,
    "b": 81
  },
  "hsl": {
    "h": 230.149,
    "s": 70.526,
    "l": 18.627
  },
  "oklch": {
    "l": 0.24719,
    "c": 0.10287,
    "h": 268.8
  },
  "luminance": 0.01383
}

Semantic roles & 50–950 ramp

primary
#0E1951
secondary
#8C7C2F
accent
#D03AED
background
#F5F4F8
surface
#E9E8EF
border
#C5C4CA
text
#04030A
muted
#79787C

Preview Lab

Preview with #0E1951

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

Preview Lab → · Contrast checker → · Palette generator →

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