#152B6A#152B6A

#152B6A is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.4% C 0.114 H 265.6°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#152B6A
RGBrgb(21, 43, 106)
HSLhsl(224, 67%, 25%)
HSVhsv(224, 80%, 42%)
CMYKcmyk(80.2%, 59.4%, 0%, 58.4%)
CIE-LABlab(19.75, 16.48, -39.30)
CIE-LCHlch(19.75, 42.62, 292.74°)
OKLaboklab(31.42% -0.0088 -0.1134)
OKLCHoklch(31.42% 0.114 265.6)
XYZxyz(3.7737, 2.9274, 13.9990)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152B6A #6A5415
analogous
#15556A #152B6A #2A156A
triadic
#152B6A #6A152B #2B6A15
tetradic
#152B6A #6A1555 #6A5415 #156A2A
square
#152B6A #6A1555 #6A5415 #156A2A
split-complementary
#152B6A #6A2A15 #556A15
monochromatic
#050A1A #0B1637 #152B6A #1F409D #2954D0

Accessibility & contrast

On white

13.24
#152B6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#152B6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152B6A
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152B6A#FFFFFF#000000##FFFFFF
##152B6A1.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346C
Deuteranopia (green-blind)
#002C69
Tritanopia (blue-blind)
#003B46
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #152b6a;
/* rgb */ color: rgb(21, 43, 106);
/* oklch */ color: oklch(31.4% 0.114 265.6);
Tailwind
colors: {
  custom: {
    50: '#616395',
    500: '#152b6a',
    950: '#000000',
  },
}
SCSS
$custom: #152b6a;
$custom-light: #616395;
$custom-dark: #000000;
JSON
{
  "hex": "#152b6a",
  "rgb": {
    "r": 21,
    "g": 43,
    "b": 106
  },
  "hsl": {
    "h": 224.471,
    "s": 66.929,
    "l": 24.902
  },
  "oklch": {
    "l": 0.31424,
    "c": 0.11373,
    "h": 265.6
  },
  "luminance": 0.02928
}

Semantic roles & 50–950 ramp

primary
#152B6A
secondary
#A1863A
accent
#BD3EEA
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050D
muted
#7A797E

Preview Lab

Preview with #152B6A

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

Preview Lab → · Contrast checker → · Palette generator →

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