#152E6A#152E6A

#152E6A is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.1% C 0.110 H 264.1°. Best body text is #FFFFFF at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#152E6A
RGBrgb(21, 46, 106)
HSLhsl(222, 67%, 25%)
HSVhsv(222, 80%, 42%)
CMYKcmyk(80.2%, 56.6%, 0%, 58.4%)
CIE-LABlab(20.65, 14.29, -37.85)
CIE-LCHlch(20.65, 40.46, 290.69°)
OKLaboklab(32.1% -0.0113 -0.109)
OKLCHoklch(32.1% 0.11 264.1)
XYZxyz(3.8869, 3.1536, 14.0367)
Luminance0.0315 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152E6A #6A5115
analogous
#15596A #152E6A #27156A
triadic
#152E6A #6A152E #2E6A15
tetradic
#152E6A #6A1559 #6A5115 #156A27
square
#152E6A #6A1559 #6A5115 #156A27
split-complementary
#152E6A #6A2715 #596A15
monochromatic
#050B1A #0B1837 #152E6A #1F449D #295AD0

Accessibility & contrast

On white

12.88
#152E6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#152E6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152E6A
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152E6A#FFFFFF#000000##FFFFFF
##152E6A1.0012.881.6312.88
#FFFFFF12.881.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01366C
Deuteranopia (green-blind)
#002E69
Tritanopia (blue-blind)
#003D47
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #152e6a;
/* rgb */ color: rgb(21, 46, 106);
/* oklch */ color: oklch(32.1% 0.110 264.1);
Tailwind
colors: {
  custom: {
    50: '#616695',
    500: '#152e6a',
    950: '#000000',
  },
}
SCSS
$custom: #152e6a;
$custom-light: #616695;
$custom-dark: #000000;
JSON
{
  "hex": "#152e6a",
  "rgb": {
    "r": 21,
    "g": 46,
    "b": 106
  },
  "hsl": {
    "h": 222.353,
    "s": 66.929,
    "l": 24.902
  },
  "oklch": {
    "l": 0.32102,
    "c": 0.10962,
    "h": 264.1
  },
  "luminance": 0.03154
}

Semantic roles & 50–950 ramp

primary
#152E6A
secondary
#A1833A
accent
#B73EEA
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050D
muted
#7A7A7E

Preview Lab

Preview with #152E6A

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

Preview Lab → · Contrast checker → · Palette generator →

#152E6A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva