#152D53#152D53

#152D53 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.0% C 0.075 H 259.2°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#152D53
RGBrgb(21, 45, 83)
HSLhsl(217, 60%, 20%)
HSVhsv(217, 75%, 33%)
CMYKcmyk(74.7%, 45.8%, 0%, 67.5%)
CIE-LABlab(18.63, 5.31, -25.93)
CIE-LCHlch(18.63, 26.47, 281.58°)
OKLaboklab(30.01% -0.0141 -0.074)
OKLCHoklch(30.01% 0.075 259.2)
XYZxyz(2.8084, 2.6604, 8.5474)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152D53 #533B15
analogous
#154C53 #152D53 #1C1553
triadic
#152D53 #53152D #2D5315
tetradic
#152D53 #53154C #533B15 #15531C
square
#152D53 #53154C #533B15 #15531C
split-complementary
#152D53 #531C15 #4C5315
monochromatic
#060D18 #091322 #152D53 #214784 #2E62B5

Accessibility & contrast

On white

13.71
#152D53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#152D53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152D53
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152D53#FFFFFF#000000##FFFFFF
##152D531.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3054
Deuteranopia (green-blind)
#112B52
Tritanopia (blue-blind)
#00363C
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #152d53;
/* rgb */ color: rgb(21, 45, 83);
/* oklch */ color: oklch(30.0% 0.075 259.2);
Tailwind
colors: {
  custom: {
    50: '#5b6583',
    500: '#152d53',
    950: '#000000',
  },
}
SCSS
$custom: #152d53;
$custom-light: #5b6583;
$custom-dark: #000000;
JSON
{
  "hex": "#152d53",
  "rgb": {
    "r": 21,
    "g": 45,
    "b": 83
  },
  "hsl": {
    "h": 216.774,
    "s": 59.615,
    "l": 20.392
  },
  "oklch": {
    "l": 0.30011,
    "c": 0.07533,
    "h": 259.2
  },
  "luminance": 0.02661
}

Semantic roles & 50–950 ramp

primary
#152D53
secondary
#8B6B39
accent
#A645E3
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04050B
muted
#797A7C

Preview Lab

Preview with #152D53

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

Preview Lab → · Contrast checker → · Palette generator →

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