#152D5A#152D5A

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

Color values

HEX#152D5A
RGBrgb(21, 45, 90)
HSLhsl(219, 62%, 22%)
HSVhsv(219, 77%, 35%)
CMYKcmyk(76.7%, 50%, 0%, 64.7%)
CIE-LABlab(19.12, 8.26, -29.82)
CIE-LCHlch(19.12, 30.94, 285.49°)
OKLaboklab(30.54% -0.0126 -0.0854)
OKLCHoklch(30.54% 0.086 261.6)
XYZxyz(3.0925, 2.7741, 10.0433)
Luminance0.0277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152D5A #5A4215
analogous
#15505A #152D5A #1F155A
triadic
#152D5A #5A152D #2D5A15
tetradic
#152D5A #5A1550 #5A4215 #155A1F
square
#152D5A #5A1550 #5A4215 #155A1F
split-complementary
#152D5A #5A1F15 #505A15
monochromatic
#060C19 #091428 #152D5A #21468C #2C5FBD

Accessibility & contrast

On white

13.51
#152D5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#152D5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152D5A
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152D5A#FFFFFF#000000##FFFFFF
##152D5A1.0013.511.5513.51
#FFFFFF13.511.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16325C
Deuteranopia (green-blind)
#072B59
Tritanopia (blue-blind)
#00383F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #152d5a;
/* rgb */ color: rgb(21, 45, 90);
/* oklch */ color: oklch(30.5% 0.086 261.6);
Tailwind
colors: {
  custom: {
    50: '#5d6589',
    500: '#152d5a',
    950: '#000000',
  },
}
SCSS
$custom: #152d5a;
$custom-light: #5d6589;
$custom-dark: #000000;
JSON
{
  "hex": "#152d5a",
  "rgb": {
    "r": 21,
    "g": 45,
    "b": 90
  },
  "hsl": {
    "h": 219.13,
    "s": 62.162,
    "l": 21.765
  },
  "oklch": {
    "l": 0.30542,
    "c": 0.08637,
    "h": 261.6
  },
  "luminance": 0.02774
}

Semantic roles & 50–950 ramp

primary
#152D5A
secondary
#927339
accent
#AD43E5
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05050B
muted
#797A7C

Preview Lab

Preview with #152D5A

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

Preview Lab → · Contrast checker → · Palette generator →

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