#152F55#152F55

#152F55 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.7% C 0.076 H 258.0°. Best body text is #FFFFFF at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#152F55
RGBrgb(21, 47, 85)
HSLhsl(216, 60%, 21%)
HSVhsv(216, 75%, 33%)
CMYKcmyk(75.3%, 44.7%, 0%, 66.7%)
CIE-LABlab(19.42, 4.70, -26.00)
CIE-LCHlch(19.42, 26.42, 280.26°)
OKLaboklab(30.67% -0.0158 -0.0742)
OKLCHoklch(30.67% 0.076 258)
XYZxyz(2.9649, 2.8480, 8.9860)
Luminance0.0285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152F55 #553B15
analogous
#154F55 #152F55 #1B1555
triadic
#152F55 #55152F #2F5515
tetradic
#152F55 #55154F #553B15 #15551B
square
#152F55 #55154F #553B15 #15551B
split-complementary
#152F55 #551B15 #4F5515
monochromatic
#060E19 #091424 #152F55 #214A86 #2D65B7

Accessibility & contrast

On white

13.38
#152F55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#152F55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152F55
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152F55#FFFFFF#000000##FFFFFF
##152F551.0013.381.5713.38
#FFFFFF13.381.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3256
Deuteranopia (green-blind)
#132C54
Tritanopia (blue-blind)
#00383D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #152f55;
/* rgb */ color: rgb(21, 47, 85);
/* oklch */ color: oklch(30.7% 0.076 258.0);
Tailwind
colors: {
  custom: {
    50: '#5b6785',
    500: '#152f55',
    950: '#000000',
  },
}
SCSS
$custom: #152f55;
$custom-light: #5b6785;
$custom-dark: #000000;
JSON
{
  "hex": "#152f55",
  "rgb": {
    "r": 21,
    "g": 47,
    "b": 85
  },
  "hsl": {
    "h": 215.625,
    "s": 60.377,
    "l": 20.784
  },
  "oklch": {
    "l": 0.3067,
    "c": 0.07584,
    "h": 258
  },
  "luminance": 0.02848
}

Semantic roles & 50–950 ramp

primary
#152F55
secondary
#8D6B39
accent
#A344E4
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04060B
muted
#797A7C

Preview Lab

Preview with #152F55

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

Preview Lab → · Contrast checker → · Palette generator →

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