#152C55#152C55

#152C55 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 29.9% C 0.080 H 261.0°. Best body text is #FFFFFF at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#152C55
RGBrgb(21, 44, 85)
HSLhsl(218, 60%, 21%)
HSVhsv(218, 75%, 33%)
CMYKcmyk(75.3%, 48.2%, 0%, 66.7%)
CIE-LABlab(18.44, 6.88, -27.58)
CIE-LCHlch(18.44, 28.42, 284.01°)
OKLaboklab(29.91% -0.0125 -0.0789)
OKLCHoklch(29.91% 0.08 261)
XYZxyz(2.8490, 2.6164, 8.9474)
Luminance0.0262 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152C55 #553E15
analogous
#154C55 #152C55 #1E1555
triadic
#152C55 #55152C #2C5515
tetradic
#152C55 #55154C #553E15 #15551E
square
#152C55 #55154C #553E15 #15551E
split-complementary
#152C55 #551E15 #4C5515
monochromatic
#060D19 #091324 #152C55 #214586 #2D5FB7

Accessibility & contrast

On white

13.78
#152C55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#152C55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152C55
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152C55#FFFFFF#000000##FFFFFF
##152C551.0013.781.5213.78
#FFFFFF13.781.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183057
Deuteranopia (green-blind)
#0C2A54
Tritanopia (blue-blind)
#00363C
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #152c55;
/* rgb */ color: rgb(21, 44, 85);
/* oklch */ color: oklch(29.9% 0.080 261.0);
Tailwind
colors: {
  custom: {
    50: '#5b6485',
    500: '#152c55',
    950: '#000000',
  },
}
SCSS
$custom: #152c55;
$custom-light: #5b6485;
$custom-dark: #000000;
JSON
{
  "hex": "#152c55",
  "rgb": {
    "r": 21,
    "g": 44,
    "b": 85
  },
  "hsl": {
    "h": 218.438,
    "s": 60.377,
    "l": 20.784
  },
  "oklch": {
    "l": 0.29906,
    "c": 0.07986,
    "h": 261
  },
  "luminance": 0.02617
}

Semantic roles & 50–950 ramp

primary
#152C55
secondary
#8D6F39
accent
#AA44E4
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #152C55

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

Preview Lab → · Contrast checker → · Palette generator →

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