#152A66#152A66

#152A66 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.8% C 0.109 H 265.7°. Best body text is #FFFFFF at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#152A66
RGBrgb(21, 42, 102)
HSLhsl(224, 66%, 24%)
HSVhsv(224, 79%, 40%)
CMYKcmyk(79.4%, 58.8%, 0%, 60%)
CIE-LABlab(19.12, 15.53, -37.73)
CIE-LCHlch(19.12, 40.80, 292.38°)
OKLaboklab(30.84% -0.0082 -0.1088)
OKLCHoklch(30.84% 0.109 265.7)
XYZxyz(3.5347, 2.7743, 12.9170)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152A66 #665115
analogous
#155366 #152A66 #281566
triadic
#152A66 #66152A #2A6615
tetradic
#152A66 #661553 #665115 #156628
square
#152A66 #661553 #665115 #156628
split-complementary
#152A66 #662815 #536615
monochromatic
#050A19 #0B1533 #152A66 #1F3F99 #2A54CC

Accessibility & contrast

On white

13.50
#152A66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#152A66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152A66
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152A66#FFFFFF#000000##FFFFFF
##152A661.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003268
Deuteranopia (green-blind)
#002B65
Tritanopia (blue-blind)
#003943
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #152a66;
/* rgb */ color: rgb(21, 42, 102);
/* oklch */ color: oklch(30.8% 0.109 265.7);
Tailwind
colors: {
  custom: {
    50: '#606392',
    500: '#152a66',
    950: '#000000',
  },
}
SCSS
$custom: #152a66;
$custom-light: #606392;
$custom-dark: #000000;
JSON
{
  "hex": "#152a66",
  "rgb": {
    "r": 21,
    "g": 42,
    "b": 102
  },
  "hsl": {
    "h": 224.444,
    "s": 65.854,
    "l": 24.118
  },
  "oklch": {
    "l": 0.3084,
    "c": 0.10908,
    "h": 265.7
  },
  "luminance": 0.02775
}

Semantic roles & 50–950 ramp

primary
#152A66
secondary
#9D833A
accent
#BD3FE9
background
#F6F5F9
surface
#EBEAF1
border
#C6C6CB
text
#05050D
muted
#7A797E

Preview Lab

Preview with #152A66

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

Preview Lab → · Contrast checker → · Palette generator →

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