#0E1D52#0E1D52

#0E1D52 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.7% C 0.099 H 267.0°. Best body text is #FFFFFF at 15.96:1 contrast (WCAG AA passes).

Color values

HEX#0E1D52
RGBrgb(14, 29, 82)
HSLhsl(227, 71%, 19%)
HSVhsv(227, 83%, 32%)
CMYKcmyk(82.9%, 64.6%, 0%, 67.8%)
CIE-LABlab(13.11, 15.76, -34.17)
CIE-LCHlch(13.11, 37.63, 294.76°)
OKLaboklab(25.69% -0.0052 -0.0987)
OKLCHoklch(25.69% 0.099 267)
XYZxyz(2.1429, 1.5811, 8.1732)
Luminance0.0158 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E1D52 #52430E
analogous
#0E3F52 #0E1D52 #210E52
triadic
#0E1D52 #520E1D #1D520E
tetradic
#0E1D52 #520E3F #52430E #0E5221
square
#0E1D52 #520E3F #52430E #0E5221
split-complementary
#0E1D52 #52210E #3F520E
monochromatic
#04091A #050B1E #0E1D52 #172F86 #2042BB

Accessibility & contrast

On white

15.96
#0E1D52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#0E1D52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E1D52
15.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E1D52#FFFFFF#000000##FFFFFF
##0E1D521.0015.961.3215.96
#FFFFFF15.961.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002554
Deuteranopia (green-blind)
#001F51
Tritanopia (blue-blind)
#002A34
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #0e1d52;
/* rgb */ color: rgb(14, 29, 82);
/* oklch */ color: oklch(25.7% 0.099 267.0);
Tailwind
colors: {
  custom: {
    50: '#595883',
    500: '#0e1d52',
    950: '#000000',
  },
}
SCSS
$custom: #0e1d52;
$custom-light: #595883;
$custom-dark: #000000;
JSON
{
  "hex": "#0e1d52",
  "rgb": {
    "r": 14,
    "g": 29,
    "b": 82
  },
  "hsl": {
    "h": 226.765,
    "s": 70.833,
    "l": 18.824
  },
  "oklch": {
    "l": 0.25693,
    "c": 0.09883,
    "h": 267
  },
  "luminance": 0.01581
}

Semantic roles & 50–950 ramp

primary
#0E1D52
secondary
#8C782F
accent
#C63AEE
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030B
muted
#79787C

Preview Lab

Preview with #0E1D52

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

Preview Lab → · Contrast checker → · Palette generator →

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