#0E1B51#0E1B51

#0E1B51 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.1% C 0.100 H 267.9°. Best body text is #FFFFFF at 16.23:1 contrast (WCAG AA passes).

Color values

HEX#0E1B51
RGBrgb(14, 27, 81)
HSLhsl(228, 71%, 19%)
HSVhsv(228, 83%, 32%)
CMYKcmyk(82.7%, 66.7%, 0%, 68.2%)
CIE-LABlab(12.42, 16.84, -34.62)
CIE-LCHlch(12.42, 38.50, 295.94°)
OKLaboklab(25.15% -0.0037 -0.1)
OKLCHoklch(25.15% 0.1 267.9)
XYZxyz(2.0577, 1.4711, 7.9585)
Luminance0.0147 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E1B51 #51440E
analogous
#0E3C51 #0E1B51 #220E51
triadic
#0E1B51 #510E1B #1B510E
tetradic
#0E1B51 #510E3C #51440E #0E5122
square
#0E1B51 #510E3C #51440E #0E5122
split-complementary
#0E1B51 #51220E #3C510E
monochromatic
#05091A #050A1D #0E1B51 #172C85 #203EB9

Accessibility & contrast

On white

16.23
#0E1B51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0E1B51
16.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E1B51#FFFFFF#000000##FFFFFF
##0E1B511.0016.231.2916.23
#FFFFFF16.231.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002453
Deuteranopia (green-blind)
#001D50
Tritanopia (blue-blind)
#002933
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #0e1b51;
/* rgb */ color: rgb(14, 27, 81);
/* oklch */ color: oklch(25.1% 0.100 267.9);
Tailwind
colors: {
  custom: {
    50: '#595782',
    500: '#0e1b51',
    950: '#000000',
  },
}
SCSS
$custom: #0e1b51;
$custom-light: #595782;
$custom-dark: #000000;
JSON
{
  "hex": "#0e1b51",
  "rgb": {
    "r": 14,
    "g": 27,
    "b": 81
  },
  "hsl": {
    "h": 228.358,
    "s": 70.526,
    "l": 18.627
  },
  "oklch": {
    "l": 0.2515,
    "c": 0.1001,
    "h": 267.9
  },
  "luminance": 0.01471
}

Semantic roles & 50–950 ramp

primary
#0E1B51
secondary
#8C7A2F
accent
#CB3AED
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030A
muted
#79787C

Preview Lab

Preview with #0E1B51

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

Preview Lab → · Contrast checker → · Palette generator →

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