#152B90#152B90

#152B90 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.2% C 0.167 H 266.8°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#152B90
RGBrgb(21, 43, 144)
HSLhsl(229, 75%, 32%)
HSVhsv(229, 85%, 56%)
CMYKcmyk(85.4%, 70.1%, 0%, 43.5%)
CIE-LABlab(23.34, 31.77, -57.52)
CIE-LCHlch(23.34, 65.72, 298.91°)
OKLaboklab(35.18% -0.0093 -0.1667)
OKLCHoklch(35.18% 0.167 266.8)
XYZxyz(6.2054, 3.9000, 26.8059)
Luminance0.0390 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152B90 #907A15
analogous
#156990 #152B90 #3C1590
triadic
#152B90 #90152B #2B9015
tetradic
#152B90 #901569 #907A15 #15903C
square
#152B90 #901569 #907A15 #15903C
split-complementary
#152B90 #903C15 #699015
monochromatic
#050B25 #0D1B5B #152B90 #1D3BC5 #3D5AE3

Accessibility & contrast

On white

11.80
#152B90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#152B90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152B90
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152B90#FFFFFF#000000##FFFFFF
##152B901.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E93
Deuteranopia (green-blind)
#00328E
Tritanopia (blue-blind)
#00475A
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #152b90;
/* rgb */ color: rgb(21, 43, 144);
/* oklch */ color: oklch(35.2% 0.167 266.8);
Tailwind
colors: {
  custom: {
    50: '#6c64b2',
    500: '#152b90',
    950: '#000000',
  },
}
SCSS
$custom: #152b90;
$custom-light: #6c64b2;
$custom-dark: #000000;
JSON
{
  "hex": "#152b90",
  "rgb": {
    "r": 21,
    "g": 43,
    "b": 144
  },
  "hsl": {
    "h": 229.268,
    "s": 74.545,
    "l": 32.353
  },
  "oklch": {
    "l": 0.35176,
    "c": 0.16698,
    "h": 266.8
  },
  "luminance": 0.03901
}

Semantic roles & 50–950 ramp

primary
#152B90
secondary
#C2AB3E
accent
#D037F1
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080511
muted
#7B7A80

Preview Lab

Preview with #152B90

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

Preview Lab → · Contrast checker → · Palette generator →

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