#0E1F51#0E1F51

#0E1F51 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.1% C 0.094 H 265.8°. Best body text is #FFFFFF at 15.75:1 contrast (WCAG AA passes).

Color values

HEX#0E1F51
RGBrgb(14, 31, 81)
HSLhsl(225, 71%, 19%)
HSVhsv(225, 83%, 32%)
CMYKcmyk(82.7%, 61.7%, 0%, 68.2%)
CIE-LABlab(13.63, 13.80, -32.64)
CIE-LCHlch(13.63, 35.44, 292.92°)
OKLaboklab(26.05% -0.0069 -0.0942)
OKLCHoklch(26.05% 0.094 265.8)
XYZxyz(2.1558, 1.6672, 7.9912)
Luminance0.0167 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E1F51 #51400E
analogous
#0E4051 #0E1F51 #1E0E51
triadic
#0E1F51 #510E1F #1F510E
tetradic
#0E1F51 #510E40 #51400E #0E511E
square
#0E1F51 #510E40 #51400E #0E511E
split-complementary
#0E1F51 #511E0E #40510E
monochromatic
#050A1A #050B1D #0E1F51 #173385 #2047B9

Accessibility & contrast

On white

15.75
#0E1F51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#0E1F51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E1F51
15.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E1F51#FFFFFF#000000##FFFFFF
##0E1F511.0015.751.3315.75
#FFFFFF15.751.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002653
Deuteranopia (green-blind)
#002050
Tritanopia (blue-blind)
#002B34
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #0e1f51;
/* rgb */ color: rgb(14, 31, 81);
/* oklch */ color: oklch(26.1% 0.094 265.8);
Tailwind
colors: {
  custom: {
    50: '#595a82',
    500: '#0e1f51',
    950: '#000000',
  },
}
SCSS
$custom: #0e1f51;
$custom-light: #595a82;
$custom-dark: #000000;
JSON
{
  "hex": "#0e1f51",
  "rgb": {
    "r": 14,
    "g": 31,
    "b": 81
  },
  "hsl": {
    "h": 224.776,
    "s": 70.526,
    "l": 18.627
  },
  "oklch": {
    "l": 0.26054,
    "c": 0.09442,
    "h": 265.8
  },
  "luminance": 0.01667
}

Semantic roles & 50–950 ramp

primary
#0E1F51
secondary
#8C742F
accent
#C03AED
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030A
muted
#79787C

Preview Lab

Preview with #0E1F51

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

Preview Lab → · Contrast checker → · Palette generator →

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