#152D55#152D55

#152D55 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.2% C 0.079 H 260.0°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#152D55
RGBrgb(21, 45, 85)
HSLhsl(218, 60%, 21%)
HSVhsv(218, 75%, 33%)
CMYKcmyk(75.3%, 47.1%, 0%, 66.7%)
CIE-LABlab(18.76, 6.15, -27.05)
CIE-LCHlch(18.76, 27.74, 282.81°)
OKLaboklab(30.16% -0.0136 -0.0773)
OKLCHoklch(30.16% 0.079 260)
XYZxyz(2.8868, 2.6918, 8.9600)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152D55 #553D15
analogous
#154D55 #152D55 #1D1555
triadic
#152D55 #55152D #2D5515
tetradic
#152D55 #55154D #553D15 #15551D
square
#152D55 #55154D #553D15 #15551D
split-complementary
#152D55 #551D15 #4D5515
monochromatic
#060D19 #091324 #152D55 #214786 #2D61B7

Accessibility & contrast

On white

13.65
#152D55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#152D55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152D55
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152D55#FFFFFF#000000##FFFFFF
##152D551.0013.651.5413.65
#FFFFFF13.651.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3157
Deuteranopia (green-blind)
#0F2B54
Tritanopia (blue-blind)
#00363C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #152d55;
/* rgb */ color: rgb(21, 45, 85);
/* oklch */ color: oklch(30.2% 0.079 260.0);
Tailwind
colors: {
  custom: {
    50: '#5b6585',
    500: '#152d55',
    950: '#000000',
  },
}
SCSS
$custom: #152d55;
$custom-light: #5b6585;
$custom-dark: #000000;
JSON
{
  "hex": "#152d55",
  "rgb": {
    "r": 21,
    "g": 45,
    "b": 85
  },
  "hsl": {
    "h": 217.5,
    "s": 60.377,
    "l": 20.784
  },
  "oklch": {
    "l": 0.30159,
    "c": 0.0785,
    "h": 260
  },
  "luminance": 0.02692
}

Semantic roles & 50–950 ramp

primary
#152D55
secondary
#8D6D39
accent
#A844E4
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04050B
muted
#797A7C

Preview Lab

Preview with #152D55

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

Preview Lab → · Contrast checker → · Palette generator →

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