#152C6C#152C6C

#152C6C is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.8% C 0.115 H 265.3°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#152C6C
RGBrgb(21, 44, 108)
HSLhsl(224, 67%, 25%)
HSVhsv(224, 81%, 42%)
CMYKcmyk(80.6%, 59.3%, 0%, 57.6%)
CIE-LABlab(20.22, 16.59, -39.85)
CIE-LCHlch(20.22, 43.16, 292.60°)
OKLaboklab(31.83% -0.0095 -0.115)
OKLCHoklch(31.83% 0.115 265.3)
XYZxyz(3.9158, 3.0431, 14.5654)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152C6C #6C5515
analogous
#15576C #152C6C #29156C
triadic
#152C6C #6C152C #2C6C15
tetradic
#152C6C #6C1557 #6C5515 #156C29
square
#152C6C #6C1557 #6C5515 #156C29
split-complementary
#152C6C #6C2915 #576C15
monochromatic
#050A1A #0B1739 #152C6C #1F419F #2956D2

Accessibility & contrast

On white

13.05
#152C6C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#152C6C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152C6C
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152C6C#FFFFFF#000000##FFFFFF
##152C6C1.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00356E
Deuteranopia (green-blind)
#002D6B
Tritanopia (blue-blind)
#003C47
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #152c6c;
/* rgb */ color: rgb(21, 44, 108);
/* oklch */ color: oklch(31.8% 0.115 265.3);
Tailwind
colors: {
  custom: {
    50: '#616497',
    500: '#152c6c',
    950: '#000000',
  },
}
SCSS
$custom: #152c6c;
$custom-light: #616497;
$custom-dark: #000000;
JSON
{
  "hex": "#152c6c",
  "rgb": {
    "r": 21,
    "g": 44,
    "b": 108
  },
  "hsl": {
    "h": 224.138,
    "s": 67.442,
    "l": 25.294
  },
  "oklch": {
    "l": 0.31826,
    "c": 0.11535,
    "h": 265.3
  },
  "luminance": 0.03044
}

Semantic roles & 50–950 ramp

primary
#152C6C
secondary
#A3873A
accent
#BD3DEA
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050D
muted
#7A797E

Preview Lab

Preview with #152C6C

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

Preview Lab → · Contrast checker → · Palette generator →

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