#152D6D#152D6D

#152D6D is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.1% C 0.115 H 264.9°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#152D6D
RGBrgb(21, 45, 109)
HSLhsl(224, 68%, 25%)
HSVhsv(224, 81%, 43%)
CMYKcmyk(80.7%, 58.7%, 0%, 57.3%)
CIE-LABlab(20.60, 16.28, -39.88)
CIE-LCHlch(20.60, 43.07, 292.21°)
OKLaboklab(32.14% -0.0102 -0.115)
OKLCHoklch(32.14% 0.115 264.9)
XYZxyz(4.0070, 3.1399, 14.8599)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152D6D #6D5515
analogous
#15596D #152D6D #29156D
triadic
#152D6D #6D152D #2D6D15
tetradic
#152D6D #6D1559 #6D5515 #156D29
square
#152D6D #6D1559 #6D5515 #156D29
split-complementary
#152D6D #6D2915 #596D15
monochromatic
#050B1A #0B183A #152D6D #1F42A0 #2957D4

Accessibility & contrast

On white

12.90
#152D6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#152D6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152D6D
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152D6D#FFFFFF#000000##FFFFFF
##152D6D1.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00366F
Deuteranopia (green-blind)
#002E6C
Tritanopia (blue-blind)
#003D48
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #152d6d;
/* rgb */ color: rgb(21, 45, 109);
/* oklch */ color: oklch(32.1% 0.115 264.9);
Tailwind
colors: {
  custom: {
    50: '#626597',
    500: '#152d6d',
    950: '#000000',
  },
}
SCSS
$custom: #152d6d;
$custom-light: #626597;
$custom-dark: #000000;
JSON
{
  "hex": "#152d6d",
  "rgb": {
    "r": 21,
    "g": 45,
    "b": 109
  },
  "hsl": {
    "h": 223.636,
    "s": 67.692,
    "l": 25.49
  },
  "oklch": {
    "l": 0.32139,
    "c": 0.11548,
    "h": 264.9
  },
  "luminance": 0.0314
}

Semantic roles & 50–950 ramp

primary
#152D6D
secondary
#A3873A
accent
#BB3DEB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050D
muted
#7A7A7E

Preview Lab

Preview with #152D6D

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

Preview Lab → · Contrast checker → · Palette generator →

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