#0E2552#0E2552

#0E2552 is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.6% C 0.087 H 262.0°. Best body text is #FFFFFF at 14.94:1 contrast (WCAG AA passes).

Color values

HEX#0E2552
RGBrgb(14, 37, 82)
HSLhsl(220, 71%, 19%)
HSVhsv(220, 83%, 32%)
CMYKcmyk(82.9%, 54.9%, 0%, 67.8%)
CIE-LABlab(15.62, 9.68, -30.10)
CIE-LCHlch(15.62, 31.62, 287.83°)
OKLaboklab(27.59% -0.0121 -0.0866)
OKLCHoklch(27.59% 0.087 262)
XYZxyz(2.3651, 2.0254, 8.2473)
Luminance0.0203 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E2552 #523B0E
analogous
#0E4752 #0E2552 #190E52
triadic
#0E2552 #520E25 #25520E
tetradic
#0E2552 #520E47 #523B0E #0E5219
square
#0E2552 #520E47 #523B0E #0E5219
split-complementary
#0E2552 #52190E #47520E
monochromatic
#040C1A #050D1E #0E2552 #173D86 #2054BB

Accessibility & contrast

On white

14.94
#0E2552 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#0E2552 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E2552
14.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E2552#FFFFFF#000000##FFFFFF
##0E25521.0014.941.4114.94
#FFFFFF14.941.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#092A54
Deuteranopia (green-blind)
#002451
Tritanopia (blue-blind)
#003037
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #0e2552;
/* rgb */ color: rgb(14, 37, 82);
/* oklch */ color: oklch(27.6% 0.087 262.0);
Tailwind
colors: {
  custom: {
    50: '#585f83',
    500: '#0e2552',
    950: '#000000',
  },
}
SCSS
$custom: #0e2552;
$custom-light: #585f83;
$custom-dark: #000000;
JSON
{
  "hex": "#0e2552",
  "rgb": {
    "r": 14,
    "g": 37,
    "b": 82
  },
  "hsl": {
    "h": 219.706,
    "s": 70.833,
    "l": 18.824
  },
  "oklch": {
    "l": 0.27586,
    "c": 0.08743,
    "h": 262
  },
  "luminance": 0.02026
}

Semantic roles & 50–950 ramp

primary
#0E2552
secondary
#8C6D2F
accent
#B13AEE
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040A
muted
#79797C

Preview Lab

Preview with #0E2552

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

Preview Lab → · Contrast checker → · Palette generator →

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