#0E2252#0E2252

#0E2252 is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.9% C 0.092 H 264.1°. Best body text is #FFFFFF at 15.34:1 contrast (WCAG AA passes).

Color values

HEX#0E2252
RGBrgb(14, 34, 82)
HSLhsl(222, 71%, 19%)
HSVhsv(222, 83%, 32%)
CMYKcmyk(82.9%, 58.5%, 0%, 67.8%)
CIE-LABlab(14.66, 11.95, -31.66)
CIE-LCHlch(14.66, 33.84, 290.69°)
OKLaboklab(26.86% -0.0094 -0.0912)
OKLCHoklch(26.86% 0.092 264.1)
XYZxyz(2.2756, 1.8464, 8.2175)
Luminance0.0185 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E2252 #523E0E
analogous
#0E4452 #0E2252 #1C0E52
triadic
#0E2252 #520E22 #22520E
tetradic
#0E2252 #520E44 #523E0E #0E521C
square
#0E2252 #520E44 #523E0E #0E521C
split-complementary
#0E2252 #521C0E #44520E
monochromatic
#040B1A #050C1E #0E2252 #173886 #204DBB

Accessibility & contrast

On white

15.34
#0E2252 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#0E2252 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E2252
15.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E2252#FFFFFF#000000##FFFFFF
##0E22521.0015.341.3715.34
#FFFFFF15.341.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#012854
Deuteranopia (green-blind)
#002251
Tritanopia (blue-blind)
#002E36
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #0e2252;
/* rgb */ color: rgb(14, 34, 82);
/* oklch */ color: oklch(26.9% 0.092 264.1);
Tailwind
colors: {
  custom: {
    50: '#595c83',
    500: '#0e2252',
    950: '#000000',
  },
}
SCSS
$custom: #0e2252;
$custom-light: #595c83;
$custom-dark: #000000;
JSON
{
  "hex": "#0e2252",
  "rgb": {
    "r": 14,
    "g": 34,
    "b": 82
  },
  "hsl": {
    "h": 222.353,
    "s": 70.833,
    "l": 18.824
  },
  "oklch": {
    "l": 0.26855,
    "c": 0.09171,
    "h": 264.1
  },
  "luminance": 0.01847
}

Semantic roles & 50–950 ramp

primary
#0E2252
secondary
#8C712F
accent
#B93AEE
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040A
muted
#79797C

Preview Lab

Preview with #0E2252

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

Preview Lab → · Contrast checker → · Palette generator →

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