#152E55#152E55

#152E55 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.4% C 0.077 H 259.0°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#152E55
RGBrgb(21, 46, 85)
HSLhsl(217, 60%, 21%)
HSVhsv(217, 75%, 33%)
CMYKcmyk(75.3%, 45.9%, 0%, 66.7%)
CIE-LABlab(19.09, 5.43, -26.53)
CIE-LCHlch(19.09, 27.08, 281.56°)
OKLaboklab(30.41% -0.0147 -0.0757)
OKLCHoklch(30.41% 0.077 259)
XYZxyz(2.9254, 2.7690, 8.9729)
Luminance0.0277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152E55 #553C15
analogous
#154E55 #152E55 #1C1555
triadic
#152E55 #55152E #2E5515
tetradic
#152E55 #55154E #553C15 #15551C
square
#152E55 #55154E #553C15 #15551C
split-complementary
#152E55 #551C15 #4E5515
monochromatic
#060D19 #091324 #152E55 #214986 #2D63B7

Accessibility & contrast

On white

13.52
#152E55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #152E55
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152E55#FFFFFF#000000##FFFFFF
##152E551.0013.521.5513.52
#FFFFFF13.521.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3257
Deuteranopia (green-blind)
#112C54
Tritanopia (blue-blind)
#00373D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #152e55;
/* rgb */ color: rgb(21, 46, 85);
/* oklch */ color: oklch(30.4% 0.077 259.0);
Tailwind
colors: {
  custom: {
    50: '#5b6685',
    500: '#152e55',
    950: '#000000',
  },
}
SCSS
$custom: #152e55;
$custom-light: #5b6685;
$custom-dark: #000000;
JSON
{
  "hex": "#152e55",
  "rgb": {
    "r": 21,
    "g": 46,
    "b": 85
  },
  "hsl": {
    "h": 216.563,
    "s": 60.377,
    "l": 20.784
  },
  "oklch": {
    "l": 0.30414,
    "c": 0.07716,
    "h": 259
  },
  "luminance": 0.02769
}

Semantic roles & 50–950 ramp

primary
#152E55
secondary
#8D6C39
accent
#A544E4
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04050B
muted
#797A7C

Preview Lab

Preview with #152E55

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

Preview Lab → · Contrast checker → · Palette generator →

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