#0E2952#0E2952

#0E2952 is a dark, moderate blue. Relative luminance 0.023; OKLCH L 28.6% C 0.082 H 258.8°. Best body text is #FFFFFF at 14.41:1 contrast (WCAG AA passes).

Color values

HEX#0E2952
RGBrgb(14, 41, 82)
HSLhsl(216, 71%, 19%)
HSVhsv(216, 83%, 32%)
CMYKcmyk(82.9%, 50%, 0%, 67.8%)
CIE-LABlab(16.93, 6.68, -27.99)
CIE-LCHlch(16.93, 28.78, 283.42°)
OKLaboklab(28.59% -0.0159 -0.0803)
OKLCHoklch(28.59% 0.082 258.8)
XYZxyz(2.4965, 2.2881, 8.2911)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E2952 #52370E
analogous
#0E4B52 #0E2952 #150E52
triadic
#0E2952 #520E29 #29520E
tetradic
#0E2952 #520E4B #52370E #0E5215
square
#0E2952 #520E4B #52370E #0E5215
split-complementary
#0E2952 #52150E #4B520E
monochromatic
#040D1A #050F1E #0E2952 #174386 #205DBB

Accessibility & contrast

On white

14.41
#0E2952 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#0E2952 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E2952
14.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E2952#FFFFFF#000000##FFFFFF
##0E29521.0014.411.4614.41
#FFFFFF14.411.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132D54
Deuteranopia (green-blind)
#052751
Tritanopia (blue-blind)
#003339
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0e2952;
/* rgb */ color: rgb(14, 41, 82);
/* oklch */ color: oklch(28.6% 0.082 258.8);
Tailwind
colors: {
  custom: {
    50: '#586283',
    500: '#0e2952',
    950: '#000000',
  },
}
SCSS
$custom: #0e2952;
$custom-light: #586283;
$custom-dark: #000000;
JSON
{
  "hex": "#0e2952",
  "rgb": {
    "r": 14,
    "g": 41,
    "b": 82
  },
  "hsl": {
    "h": 216.176,
    "s": 70.833,
    "l": 18.824
  },
  "oklch": {
    "l": 0.28593,
    "c": 0.08185,
    "h": 258.8
  },
  "luminance": 0.02288
}

Semantic roles & 50–950 ramp

primary
#0E2952
secondary
#8C672F
accent
#A63AEE
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050A
muted
#79797C

Preview Lab

Preview with #0E2952

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

Preview Lab → · Contrast checker → · Palette generator →

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