#152B66#152B66

#152B66 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 31.1% C 0.108 H 265.2°. Best body text is #FFFFFF at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#152B66
RGBrgb(21, 43, 102)
HSLhsl(224, 66%, 24%)
HSVhsv(224, 79%, 40%)
CMYKcmyk(79.4%, 57.8%, 0%, 60%)
CIE-LABlab(19.42, 14.80, -37.24)
CIE-LCHlch(19.42, 40.07, 291.67°)
OKLaboklab(31.07% -0.0091 -0.1073)
OKLCHoklch(31.07% 0.108 265.2)
XYZxyz(3.5706, 2.8461, 12.9290)
Luminance0.0285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152B66 #665015
analogous
#155466 #152B66 #281566
triadic
#152B66 #66152B #2B6615
tetradic
#152B66 #661554 #665015 #156628
square
#152B66 #661554 #665015 #156628
split-complementary
#152B66 #662815 #546615
monochromatic
#050B19 #0B1633 #152B66 #1F4099 #2A56CC

Accessibility & contrast

On white

13.38
#152B66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#152B66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152B66
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152B66#FFFFFF#000000##FFFFFF
##152B661.0013.381.5713.38
#FFFFFF13.381.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003368
Deuteranopia (green-blind)
#002B65
Tritanopia (blue-blind)
#003944
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #152b66;
/* rgb */ color: rgb(21, 43, 102);
/* oklch */ color: oklch(31.1% 0.108 265.2);
Tailwind
colors: {
  custom: {
    50: '#606392',
    500: '#152b66',
    950: '#000000',
  },
}
SCSS
$custom: #152b66;
$custom-light: #606392;
$custom-dark: #000000;
JSON
{
  "hex": "#152b66",
  "rgb": {
    "r": 21,
    "g": 43,
    "b": 102
  },
  "hsl": {
    "h": 223.704,
    "s": 65.854,
    "l": 24.118
  },
  "oklch": {
    "l": 0.31067,
    "c": 0.1077,
    "h": 265.2
  },
  "luminance": 0.02846
}

Semantic roles & 50–950 ramp

primary
#152B66
secondary
#9D823A
accent
#BB3FE9
background
#F6F5F9
surface
#EBEAF1
border
#C6C6CB
text
#05050D
muted
#7A797E

Preview Lab

Preview with #152B66

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

Preview Lab → · Contrast checker → · Palette generator →

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