#152C5D#152C5D

#152C5D is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.5% C 0.092 H 263.1°. Best body text is #FFFFFF at 13.55:1 contrast (WCAG AA passes).

Color values

HEX#152C5D
RGBrgb(21, 44, 93)
HSLhsl(221, 63%, 22%)
HSVhsv(221, 77%, 36%)
CMYKcmyk(77.4%, 52.7%, 0%, 63.5%)
CIE-LABlab(19.02, 10.26, -31.97)
CIE-LCHlch(19.02, 33.58, 287.80°)
OKLaboklab(30.54% -0.0111 -0.0918)
OKLCHoklch(30.54% 0.092 263.1)
XYZxyz(3.1850, 2.7508, 10.7169)
Luminance0.0275 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152C5D #5D4615
analogous
#15505D #152C5D #22155D
triadic
#152C5D #5D152C #2C5D15
tetradic
#152C5D #5D1550 #5D4615 #155D22
square
#152C5D #5D1550 #5D4615 #155D22
split-complementary
#152C5D #5D2215 #505D15
monochromatic
#060C19 #0A142B #152C5D #20448F #2C5BC1

Accessibility & contrast

On white

13.55
#152C5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#152C5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152C5D
13.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152C5D#FFFFFF#000000##FFFFFF
##152C5D1.0013.551.5513.55
#FFFFFF13.551.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10325F
Deuteranopia (green-blind)
#002B5C
Tritanopia (blue-blind)
#003840
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #152c5d;
/* rgb */ color: rgb(21, 44, 93);
/* oklch */ color: oklch(30.5% 0.092 263.1);
Tailwind
colors: {
  custom: {
    50: '#5d648b',
    500: '#152c5d',
    950: '#000000',
  },
}
SCSS
$custom: #152c5d;
$custom-light: #5d648b;
$custom-dark: #000000;
JSON
{
  "hex": "#152c5d",
  "rgb": {
    "r": 21,
    "g": 44,
    "b": 93
  },
  "hsl": {
    "h": 220.833,
    "s": 63.158,
    "l": 22.353
  },
  "oklch": {
    "l": 0.30538,
    "c": 0.09245,
    "h": 263.1
  },
  "luminance": 0.02751
}

Semantic roles & 50–950 ramp

primary
#152C5D
secondary
#947739
accent
#B242E6
background
#F5F5F8
surface
#E9EAF0
border
#C5C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #152C5D

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

Preview Lab → · Contrast checker → · Palette generator →

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