#152C90#152C90

#152C90 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.4% C 0.166 H 266.6°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#152C90
RGBrgb(21, 44, 144)
HSLhsl(229, 75%, 32%)
HSVhsv(229, 85%, 56%)
CMYKcmyk(85.4%, 69.4%, 0%, 43.5%)
CIE-LABlab(23.58, 31.11, -57.12)
CIE-LCHlch(23.58, 65.04, 298.57°)
OKLaboklab(35.35% -0.0097 -0.1655)
OKLCHoklch(35.35% 0.166 266.6)
XYZxyz(6.2422, 3.9736, 26.8181)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152C90 #907915
analogous
#156A90 #152C90 #3B1590
triadic
#152C90 #90152C #2C9015
tetradic
#152C90 #90156A #907915 #15903B
square
#152C90 #90156A #907915 #15903B
split-complementary
#152C90 #903B15 #6A9015
monochromatic
#050B25 #0D1C5B #152C90 #1D3CC5 #3D5CE3

Accessibility & contrast

On white

11.70
#152C90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#152C90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152C90
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152C90#FFFFFF#000000##FFFFFF
##152C901.0011.701.7911.70
#FFFFFF11.701.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #152c90;
/* rgb */ color: rgb(21, 44, 144);
/* oklch */ color: oklch(35.4% 0.166 266.6);
Tailwind
colors: {
  custom: {
    50: '#6c65b2',
    500: '#152c90',
    950: '#000000',
  },
}
SCSS
$custom: #152c90;
$custom-light: #6c65b2;
$custom-dark: #000000;
JSON
{
  "hex": "#152c90",
  "rgb": {
    "r": 21,
    "g": 44,
    "b": 144
  },
  "hsl": {
    "h": 228.78,
    "s": 74.545,
    "l": 32.353
  },
  "oklch": {
    "l": 0.35355,
    "c": 0.16583,
    "h": 266.6
  },
  "luminance": 0.03974
}

Semantic roles & 50–950 ramp

primary
#152C90
secondary
#C2AA3E
accent
#CE37F1
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080511
muted
#7B7A80

Preview Lab

Preview with #152C90

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

Preview Lab → · Contrast checker → · Palette generator →

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