#152D66#152D66

#152D66 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.5% C 0.105 H 264.1°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#152D66
RGBrgb(21, 45, 102)
HSLhsl(222, 66%, 24%)
HSVhsv(222, 79%, 40%)
CMYKcmyk(79.4%, 55.9%, 0%, 60%)
CIE-LABlab(20.02, 13.34, -36.25)
CIE-LCHlch(20.02, 38.63, 290.20°)
OKLaboklab(31.53% -0.0108 -0.1044)
OKLCHoklch(31.53% 0.105 264.1)
XYZxyz(3.6451, 2.9951, 12.9538)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152D66 #664E15
analogous
#155666 #152D66 #261566
triadic
#152D66 #66152D #2D6615
tetradic
#152D66 #661556 #664E15 #156626
square
#152D66 #661556 #664E15 #156626
split-complementary
#152D66 #662615 #566615
monochromatic
#050B19 #0B1733 #152D66 #1F4399 #2A5ACC

Accessibility & contrast

On white

13.13
#152D66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#152D66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152D66
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152D66#FFFFFF#000000##FFFFFF
##152D661.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#053468
Deuteranopia (green-blind)
#002D65
Tritanopia (blue-blind)
#003B44
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #152d66;
/* rgb */ color: rgb(21, 45, 102);
/* oklch */ color: oklch(31.5% 0.105 264.1);
Tailwind
colors: {
  custom: {
    50: '#606592',
    500: '#152d66',
    950: '#000000',
  },
}
SCSS
$custom: #152d66;
$custom-light: #606592;
$custom-dark: #000000;
JSON
{
  "hex": "#152d66",
  "rgb": {
    "r": 21,
    "g": 45,
    "b": 102
  },
  "hsl": {
    "h": 222.222,
    "s": 65.854,
    "l": 24.118
  },
  "oklch": {
    "l": 0.31527,
    "c": 0.10494,
    "h": 264.1
  },
  "luminance": 0.02996
}

Semantic roles & 50–950 ramp

primary
#152D66
secondary
#9D803A
accent
#B63FE9
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#05050D
muted
#7A7A7E

Preview Lab

Preview with #152D66

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

Preview Lab → · Contrast checker → · Palette generator →

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