#152D6A#152D6A

#152D6A is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.9% C 0.111 H 264.6°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#152D6A
RGBrgb(21, 45, 106)
HSLhsl(223, 67%, 25%)
HSVhsv(223, 80%, 42%)
CMYKcmyk(80.2%, 57.5%, 0%, 58.4%)
CIE-LABlab(20.35, 15.02, -38.33)
CIE-LCHlch(20.35, 41.17, 291.40°)
OKLaboklab(31.87% -0.0104 -0.1105)
OKLCHoklch(31.87% 0.111 264.6)
XYZxyz(3.8482, 3.0764, 14.0239)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152D6A #6A5215
analogous
#15576A #152D6A #28156A
triadic
#152D6A #6A152D #2D6A15
tetradic
#152D6A #6A1557 #6A5215 #156A28
square
#152D6A #6A1557 #6A5215 #156A28
split-complementary
#152D6A #6A2815 #576A15
monochromatic
#050B1A #0B1737 #152D6A #1F439D #2958D0

Accessibility & contrast

On white

13.00
#152D6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#152D6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152D6A
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152D6A#FFFFFF#000000##FFFFFF
##152D6A1.0013.001.6213.00
#FFFFFF13.001.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00356C
Deuteranopia (green-blind)
#002D69
Tritanopia (blue-blind)
#003C46
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #152d6a;
/* rgb */ color: rgb(21, 45, 106);
/* oklch */ color: oklch(31.9% 0.111 264.6);
Tailwind
colors: {
  custom: {
    50: '#616595',
    500: '#152d6a',
    950: '#000000',
  },
}
SCSS
$custom: #152d6a;
$custom-light: #616595;
$custom-dark: #000000;
JSON
{
  "hex": "#152d6a",
  "rgb": {
    "r": 21,
    "g": 45,
    "b": 106
  },
  "hsl": {
    "h": 223.059,
    "s": 66.929,
    "l": 24.902
  },
  "oklch": {
    "l": 0.31873,
    "c": 0.11099,
    "h": 264.6
  },
  "luminance": 0.03077
}

Semantic roles & 50–950 ramp

primary
#152D6A
secondary
#A1843A
accent
#B93EEA
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050D
muted
#7A7A7E

Preview Lab

Preview with #152D6A

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

Preview Lab → · Contrast checker → · Palette generator →

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