#0E1F52#0E1F52

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

Color values

HEX#0E1F52
RGBrgb(14, 31, 82)
HSLhsl(225, 71%, 19%)
HSVhsv(225, 83%, 32%)
CMYKcmyk(82.9%, 62.2%, 0%, 67.8%)
CIE-LABlab(13.72, 14.24, -33.18)
CIE-LCHlch(13.72, 36.10, 293.23°)
OKLaboklab(26.15% -0.0069 -0.0957)
OKLCHoklch(26.15% 0.096 265.9)
XYZxyz(2.1935, 1.6823, 8.1901)
Luminance0.0168 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E1F52 #52410E
analogous
#0E4152 #0E1F52 #1F0E52
triadic
#0E1F52 #520E1F #1F520E
tetradic
#0E1F52 #520E41 #52410E #0E521F
square
#0E1F52 #520E41 #52410E #0E521F
split-complementary
#0E1F52 #521F0E #41520E
monochromatic
#040A1A #050B1E #0E1F52 #173386 #2047BB

Accessibility & contrast

On white

15.71
#0E1F52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#0E1F52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E1F52
15.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E1F52#FFFFFF#000000##FFFFFF
##0E1F521.0015.711.3415.71
#FFFFFF15.711.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002654
Deuteranopia (green-blind)
#002051
Tritanopia (blue-blind)
#002C35
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #0e1f52;
/* rgb */ color: rgb(14, 31, 82);
/* oklch */ color: oklch(26.1% 0.096 265.9);
Tailwind
colors: {
  custom: {
    50: '#595a83',
    500: '#0e1f52',
    950: '#000000',
  },
}
SCSS
$custom: #0e1f52;
$custom-light: #595a83;
$custom-dark: #000000;
JSON
{
  "hex": "#0e1f52",
  "rgb": {
    "r": 14,
    "g": 31,
    "b": 82
  },
  "hsl": {
    "h": 225,
    "s": 70.833,
    "l": 18.824
  },
  "oklch": {
    "l": 0.26149,
    "c": 0.09599,
    "h": 265.9
  },
  "luminance": 0.01683
}

Semantic roles & 50–950 ramp

primary
#0E1F52
secondary
#8C752F
accent
#C13AEE
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030B
muted
#79787C

Preview Lab

Preview with #0E1F52

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

Preview Lab → · Contrast checker → · Palette generator →

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