#152D90#152D90

#152D90 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.5% C 0.165 H 266.5°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#152D90
RGBrgb(21, 45, 144)
HSLhsl(228, 75%, 32%)
HSVhsv(228, 85%, 56%)
CMYKcmyk(85.4%, 68.7%, 0%, 43.5%)
CIE-LABlab(23.83, 30.44, -56.71)
CIE-LCHlch(23.83, 64.36, 298.23°)
OKLaboklab(35.54% -0.0102 -0.1643)
OKLCHoklch(35.54% 0.165 266.5)
XYZxyz(6.2799, 4.0491, 26.8307)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152D90 #907815
analogous
#156A90 #152D90 #3B1590
triadic
#152D90 #90152D #2D9015
tetradic
#152D90 #90156A #907815 #15903B
square
#152D90 #90156A #907815 #15903B
split-complementary
#152D90 #903B15 #6A9015
monochromatic
#050C25 #0D1C5B #152D90 #1D3EC5 #3D5DE3

Accessibility & contrast

On white

11.60
#152D90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#152D90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152D90
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152D90#FFFFFF#000000##FFFFFF
##152D901.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F93
Deuteranopia (green-blind)
#00338E
Tritanopia (blue-blind)
#00485A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #152d90;
/* rgb */ color: rgb(21, 45, 144);
/* oklch */ color: oklch(35.5% 0.165 266.5);
Tailwind
colors: {
  custom: {
    50: '#6c66b2',
    500: '#152d90',
    950: '#000000',
  },
}
SCSS
$custom: #152d90;
$custom-light: #6c66b2;
$custom-dark: #000000;
JSON
{
  "hex": "#152d90",
  "rgb": {
    "r": 21,
    "g": 45,
    "b": 144
  },
  "hsl": {
    "h": 228.293,
    "s": 74.545,
    "l": 32.353
  },
  "oklch": {
    "l": 0.35536,
    "c": 0.16466,
    "h": 266.5
  },
  "luminance": 0.0405
}

Semantic roles & 50–950 ramp

primary
#152D90
secondary
#C2A93E
accent
#CD37F1
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080511
muted
#7B7A80

Preview Lab

Preview with #152D90

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

Preview Lab → · Contrast checker → · Palette generator →

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