#152E56#152E56

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

Color values

HEX#152E56
RGBrgb(21, 46, 86)
HSLhsl(217, 61%, 21%)
HSVhsv(217, 76%, 34%)
CMYKcmyk(75.6%, 46.5%, 0%, 66.3%)
CIE-LABlab(19.16, 5.85, -27.09)
CIE-LCHlch(19.16, 27.71, 282.18°)
OKLaboklab(30.49% -0.0145 -0.0774)
OKLCHoklch(30.49% 0.079 259.4)
XYZxyz(2.9654, 2.7850, 9.1836)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152E56 #563D15
analogous
#154E56 #152E56 #1C1556
triadic
#152E56 #56152E #2E5615
tetradic
#152E56 #56154E #563D15 #15561C
square
#152E56 #56154E #563D15 #15561C
split-complementary
#152E56 #561C15 #4E5615
monochromatic
#060D19 #091425 #152E56 #214887 #2D63B8

Accessibility & contrast

On white

13.49
#152E56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#152E56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152E56
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152E56#FFFFFF#000000##FFFFFF
##152E561.0013.491.5613.49
#FFFFFF13.491.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3258
Deuteranopia (green-blind)
#102C55
Tritanopia (blue-blind)
#00373D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #152e56;
/* rgb */ color: rgb(21, 46, 86);
/* oklch */ color: oklch(30.5% 0.079 259.4);
Tailwind
colors: {
  custom: {
    50: '#5c6686',
    500: '#152e56',
    950: '#000000',
  },
}
SCSS
$custom: #152e56;
$custom-light: #5c6686;
$custom-dark: #000000;
JSON
{
  "hex": "#152e56",
  "rgb": {
    "r": 21,
    "g": 46,
    "b": 86
  },
  "hsl": {
    "h": 216.923,
    "s": 60.748,
    "l": 20.98
  },
  "oklch": {
    "l": 0.30488,
    "c": 0.07873,
    "h": 259.4
  },
  "luminance": 0.02785
}

Semantic roles & 50–950 ramp

primary
#152E56
secondary
#8E6D39
accent
#A644E4
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04050B
muted
#797A7C

Preview Lab

Preview with #152E56

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

Preview Lab → · Contrast checker → · Palette generator →

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