#152C6D#152C6D

#152C6D is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.9% C 0.117 H 265.4°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#152C6D
RGBrgb(21, 44, 109)
HSLhsl(224, 68%, 25%)
HSVhsv(224, 81%, 43%)
CMYKcmyk(80.7%, 59.6%, 0%, 57.3%)
CIE-LABlab(20.30, 17.00, -40.36)
CIE-LCHlch(20.30, 43.79, 292.85°)
OKLaboklab(31.92% -0.0094 -0.1165)
OKLCHoklch(31.92% 0.117 265.4)
XYZxyz(3.9693, 3.0645, 14.8473)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152C6D #6D5615
analogous
#15586D #152C6D #2A156D
triadic
#152C6D #6D152C #2C6D15
tetradic
#152C6D #6D1558 #6D5615 #156D2A
square
#152C6D #6D1558 #6D5615 #156D2A
split-complementary
#152C6D #6D2A15 #586D15
monochromatic
#050A1A #0B173A #152C6D #1F41A0 #2955D4

Accessibility & contrast

On white

13.02
#152C6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #152C6D
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152C6D#FFFFFF#000000##FFFFFF
##152C6D1.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00356F
Deuteranopia (green-blind)
#002D6C
Tritanopia (blue-blind)
#003C48
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #152c6d;
/* rgb */ color: rgb(21, 44, 109);
/* oklch */ color: oklch(31.9% 0.117 265.4);
Tailwind
colors: {
  custom: {
    50: '#626497',
    500: '#152c6d',
    950: '#000000',
  },
}
SCSS
$custom: #152c6d;
$custom-light: #626497;
$custom-dark: #000000;
JSON
{
  "hex": "#152c6d",
  "rgb": {
    "r": 21,
    "g": 44,
    "b": 109
  },
  "hsl": {
    "h": 224.318,
    "s": 67.692,
    "l": 25.49
  },
  "oklch": {
    "l": 0.31917,
    "c": 0.11684,
    "h": 265.4
  },
  "luminance": 0.03065
}

Semantic roles & 50–950 ramp

primary
#152C6D
secondary
#A3883A
accent
#BD3DEB
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050D
muted
#7A797E

Preview Lab

Preview with #152C6D

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

Preview Lab → · Contrast checker → · Palette generator →

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