#152C66#152C66

#152C66 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.3% C 0.106 H 264.6°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).

Color values

HEX#152C66
RGBrgb(21, 44, 102)
HSLhsl(223, 66%, 24%)
HSVhsv(223, 79%, 40%)
CMYKcmyk(79.4%, 56.9%, 0%, 60%)
CIE-LABlab(19.72, 14.07, -36.75)
CIE-LCHlch(19.72, 39.35, 290.95°)
OKLaboklab(31.3% -0.0099 -0.1058)
OKLCHoklch(31.3% 0.106 264.6)
XYZxyz(3.6074, 2.9197, 12.9412)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152C66 #664F15
analogous
#155566 #152C66 #271566
triadic
#152C66 #66152C #2C6615
tetradic
#152C66 #661555 #664F15 #156627
square
#152C66 #661555 #664F15 #156627
split-complementary
#152C66 #662715 #556615
monochromatic
#050B19 #0B1633 #152C66 #1F4299 #2A58CC

Accessibility & contrast

On white

13.26
#152C66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#152C66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152C66
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152C66#FFFFFF#000000##FFFFFF
##152C661.0013.261.5813.26
#FFFFFF13.261.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#013468
Deuteranopia (green-blind)
#002C65
Tritanopia (blue-blind)
#003A44
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #152c66;
/* rgb */ color: rgb(21, 44, 102);
/* oklch */ color: oklch(31.3% 0.106 264.6);
Tailwind
colors: {
  custom: {
    50: '#606492',
    500: '#152c66',
    950: '#000000',
  },
}
SCSS
$custom: #152c66;
$custom-light: #606492;
$custom-dark: #000000;
JSON
{
  "hex": "#152c66",
  "rgb": {
    "r": 21,
    "g": 44,
    "b": 102
  },
  "hsl": {
    "h": 222.963,
    "s": 65.854,
    "l": 24.118
  },
  "oklch": {
    "l": 0.31296,
    "c": 0.10632,
    "h": 264.6
  },
  "luminance": 0.0292
}

Semantic roles & 50–950 ramp

primary
#152C66
secondary
#9D813A
accent
#B93FE9
background
#F6F5F9
surface
#EBEAF1
border
#C6C6CB
text
#05050D
muted
#7A797E

Preview Lab

Preview with #152C66

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

Preview Lab → · Contrast checker → · Palette generator →

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