#152B56#152B56

#152B56 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 29.7% C 0.083 H 262.2°. Best body text is #FFFFFF at 13.89:1 contrast (WCAG AA passes).

Color values

HEX#152B56
RGBrgb(21, 43, 86)
HSLhsl(220, 61%, 21%)
HSVhsv(220, 76%, 34%)
CMYKcmyk(75.6%, 50%, 0%, 66.3%)
CIE-LABlab(18.18, 8.04, -28.65)
CIE-LCHlch(18.18, 29.76, 285.67°)
OKLaboklab(29.73% -0.0112 -0.0821)
OKLCHoklch(29.73% 0.083 262.2)
XYZxyz(2.8523, 2.5588, 9.1459)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152B56 #564015
analogous
#154B56 #152B56 #1F1556
triadic
#152B56 #56152B #2B5615
tetradic
#152B56 #56154B #564015 #15561F
square
#152B56 #56154B #564015 #15561F
split-complementary
#152B56 #561F15 #4B5615
monochromatic
#060C19 #091225 #152B56 #214487 #2D5CB8

Accessibility & contrast

On white

13.89
#152B56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#152B56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152B56
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152B56#FFFFFF#000000##FFFFFF
##152B561.0013.891.5113.89
#FFFFFF13.891.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153058
Deuteranopia (green-blind)
#082A55
Tritanopia (blue-blind)
#00353C
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #152b56;
/* rgb */ color: rgb(21, 43, 86);
/* oklch */ color: oklch(29.7% 0.083 262.2);
Tailwind
colors: {
  custom: {
    50: '#5c6386',
    500: '#152b56',
    950: '#000000',
  },
}
SCSS
$custom: #152b56;
$custom-light: #5c6386;
$custom-dark: #000000;
JSON
{
  "hex": "#152b56",
  "rgb": {
    "r": 21,
    "g": 43,
    "b": 86
  },
  "hsl": {
    "h": 219.692,
    "s": 60.748,
    "l": 20.98
  },
  "oklch": {
    "l": 0.29733,
    "c": 0.08283,
    "h": 262.2
  },
  "luminance": 0.02559
}

Semantic roles & 50–950 ramp

primary
#152B56
secondary
#8E7139
accent
#AE44E4
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #152B56

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

Preview Lab → · Contrast checker → · Palette generator →

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