#0E2152#0E2152

#0E2152 is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.6% C 0.093 H 264.7°. Best body text is #FFFFFF at 15.46:1 contrast (WCAG AA passes).

Color values

HEX#0E2152
RGBrgb(14, 33, 82)
HSLhsl(223, 71%, 19%)
HSVhsv(223, 83%, 32%)
CMYKcmyk(82.9%, 59.8%, 0%, 67.8%)
CIE-LABlab(14.34, 12.72, -32.17)
CIE-LCHlch(14.34, 34.59, 291.57°)
OKLaboklab(26.62% -0.0085 -0.0927)
OKLCHoklch(26.62% 0.093 264.7)
XYZxyz(2.2474, 1.7900, 8.2081)
Luminance0.0179 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E2152 #523F0E
analogous
#0E4352 #0E2152 #1D0E52
triadic
#0E2152 #520E21 #21520E
tetradic
#0E2152 #520E43 #523F0E #0E521D
square
#0E2152 #520E43 #523F0E #0E521D
split-complementary
#0E2152 #521D0E #43520E
monochromatic
#040B1A #050C1E #0E2152 #173686 #204BBB

Accessibility & contrast

On white

15.46
#0E2152 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#0E2152 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E2152
15.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E2152#FFFFFF#000000##FFFFFF
##0E21521.0015.461.3615.46
#FFFFFF15.461.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002854
Deuteranopia (green-blind)
#002151
Tritanopia (blue-blind)
#002D35
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #0e2152;
/* rgb */ color: rgb(14, 33, 82);
/* oklch */ color: oklch(26.6% 0.093 264.7);
Tailwind
colors: {
  custom: {
    50: '#595b83',
    500: '#0e2152',
    950: '#000000',
  },
}
SCSS
$custom: #0e2152;
$custom-light: #595b83;
$custom-dark: #000000;
JSON
{
  "hex": "#0e2152",
  "rgb": {
    "r": 14,
    "g": 33,
    "b": 82
  },
  "hsl": {
    "h": 223.235,
    "s": 70.833,
    "l": 18.824
  },
  "oklch": {
    "l": 0.26617,
    "c": 0.09313,
    "h": 264.7
  },
  "luminance": 0.0179
}

Semantic roles & 50–950 ramp

primary
#0E2152
secondary
#8C722F
accent
#BB3AEE
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040A
muted
#79797C

Preview Lab

Preview with #0E2152

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

Preview Lab → · Contrast checker → · Palette generator →

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