#0E2251#0E2251

#0E2251 is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.8% C 0.090 H 263.9°. Best body text is #FFFFFF at 15.37:1 contrast (WCAG AA passes).

Color values

HEX#0E2251
RGBrgb(14, 34, 81)
HSLhsl(222, 71%, 19%)
HSVhsv(222, 83%, 32%)
CMYKcmyk(82.7%, 58%, 0%, 68.2%)
CIE-LABlab(14.58, 11.52, -31.12)
CIE-LCHlch(14.58, 33.18, 290.31°)
OKLaboklab(26.77% -0.0095 -0.0896)
OKLCHoklch(26.77% 0.09 263.9)
XYZxyz(2.2378, 1.8312, 8.0185)
Luminance0.0183 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E2251 #513D0E
analogous
#0E4351 #0E2251 #1B0E51
triadic
#0E2251 #510E22 #22510E
tetradic
#0E2251 #510E43 #513D0E #0E511B
square
#0E2251 #510E43 #513D0E #0E511B
split-complementary
#0E2251 #511B0E #43510E
monochromatic
#050B1A #050C1D #0E2251 #173885 #204EB9

Accessibility & contrast

On white

15.37
#0E2251 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0E2251
15.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E2251#FFFFFF#000000##FFFFFF
##0E22511.0015.371.3715.37
#FFFFFF15.371.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#022853
Deuteranopia (green-blind)
#002250
Tritanopia (blue-blind)
#002D35
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #0e2251;
/* rgb */ color: rgb(14, 34, 81);
/* oklch */ color: oklch(26.8% 0.090 263.9);
Tailwind
colors: {
  custom: {
    50: '#585c82',
    500: '#0e2251',
    950: '#000000',
  },
}
SCSS
$custom: #0e2251;
$custom-light: #585c82;
$custom-dark: #000000;
JSON
{
  "hex": "#0e2251",
  "rgb": {
    "r": 14,
    "g": 34,
    "b": 81
  },
  "hsl": {
    "h": 222.09,
    "s": 70.526,
    "l": 18.627
  },
  "oklch": {
    "l": 0.26765,
    "c": 0.09012,
    "h": 263.9
  },
  "luminance": 0.01831
}

Semantic roles & 50–950 ramp

primary
#0E2251
secondary
#8C702F
accent
#B83AED
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040A
muted
#79797C

Preview Lab

Preview with #0E2251

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

Preview Lab → · Contrast checker → · Palette generator →

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