#152E90#152E90

#152E90 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.7% C 0.163 H 266.3°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#152E90
RGBrgb(21, 46, 144)
HSLhsl(228, 75%, 32%)
HSVhsv(228, 85%, 56%)
CMYKcmyk(85.4%, 68.1%, 0%, 43.5%)
CIE-LABlab(24.08, 29.77, -56.30)
CIE-LCHlch(24.08, 63.68, 297.87°)
OKLaboklab(35.72% -0.0106 -0.1631)
OKLCHoklch(35.72% 0.163 266.3)
XYZxyz(6.3185, 4.1263, 26.8436)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152E90 #907715
analogous
#156B90 #152E90 #3A1590
triadic
#152E90 #90152E #2E9015
tetradic
#152E90 #90156B #907715 #15903A
square
#152E90 #90156B #907715 #15903A
split-complementary
#152E90 #903A15 #6B9015
monochromatic
#050C25 #0D1D5B #152E90 #1D3FC5 #3D5EE3

Accessibility & contrast

On white

11.50
#152E90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#152E90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152E90
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152E90#FFFFFF#000000##FFFFFF
##152E901.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #152e90;
/* rgb */ color: rgb(21, 46, 144);
/* oklch */ color: oklch(35.7% 0.163 266.3);
Tailwind
colors: {
  custom: {
    50: '#6c66b2',
    500: '#152e90',
    950: '#000000',
  },
}
SCSS
$custom: #152e90;
$custom-light: #6c66b2;
$custom-dark: #000000;
JSON
{
  "hex": "#152e90",
  "rgb": {
    "r": 21,
    "g": 46,
    "b": 144
  },
  "hsl": {
    "h": 227.805,
    "s": 74.545,
    "l": 32.353
  },
  "oklch": {
    "l": 0.3572,
    "c": 0.16348,
    "h": 266.3
  },
  "luminance": 0.04127
}

Semantic roles & 50–950 ramp

primary
#152E90
secondary
#C2A83E
accent
#CB37F1
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80

Preview Lab

Preview with #152E90

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

Preview Lab → · Contrast checker → · Palette generator →

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