#152C6A#152C6A

#152C6A is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.6% C 0.112 H 265.1°. Best body text is #FFFFFF at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#152C6A
RGBrgb(21, 44, 106)
HSLhsl(224, 67%, 25%)
HSVhsv(224, 80%, 42%)
CMYKcmyk(80.2%, 58.5%, 0%, 58.4%)
CIE-LABlab(20.05, 15.75, -38.82)
CIE-LCHlch(20.05, 41.89, 292.08°)
OKLaboklab(31.65% -0.0096 -0.1119)
OKLCHoklch(31.65% 0.112 265.1)
XYZxyz(3.8105, 3.0010, 14.0113)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152C6A #6A5315
analogous
#15566A #152C6A #29156A
triadic
#152C6A #6A152C #2C6A15
tetradic
#152C6A #6A1556 #6A5315 #156A29
square
#152C6A #6A1556 #6A5315 #156A29
split-complementary
#152C6A #6A2915 #566A15
monochromatic
#050B1A #0B1737 #152C6A #1F419D #2956D0

Accessibility & contrast

On white

13.12
#152C6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #152C6A
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152C6A#FFFFFF#000000##FFFFFF
##152C6A1.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346C
Deuteranopia (green-blind)
#002D69
Tritanopia (blue-blind)
#003B46
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #152c6a;
/* rgb */ color: rgb(21, 44, 106);
/* oklch */ color: oklch(31.6% 0.112 265.1);
Tailwind
colors: {
  custom: {
    50: '#616495',
    500: '#152c6a',
    950: '#000000',
  },
}
SCSS
$custom: #152c6a;
$custom-light: #616495;
$custom-dark: #000000;
JSON
{
  "hex": "#152c6a",
  "rgb": {
    "r": 21,
    "g": 44,
    "b": 106
  },
  "hsl": {
    "h": 223.765,
    "s": 66.929,
    "l": 24.902
  },
  "oklch": {
    "l": 0.31647,
    "c": 0.11236,
    "h": 265.1
  },
  "luminance": 0.03001
}

Semantic roles & 50–950 ramp

primary
#152C6A
secondary
#A1853A
accent
#BB3EEA
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050D
muted
#7A797E

Preview Lab

Preview with #152C6A

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

Preview Lab → · Contrast checker → · Palette generator →

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