#152B63#152B63

#152B63 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.8% C 0.103 H 264.8°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#152B63
RGBrgb(21, 43, 99)
HSLhsl(223, 65%, 24%)
HSVhsv(223, 79%, 39%)
CMYKcmyk(78.8%, 56.6%, 0%, 61.2%)
CIE-LABlab(19.17, 13.53, -35.67)
CIE-LCHlch(19.17, 38.15, 290.78°)
OKLaboklab(30.81% -0.0094 -0.1027)
OKLCHoklch(30.81% 0.103 264.8)
XYZxyz(3.4245, 2.7877, 12.1596)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152B63 #634D15
analogous
#155263 #152B63 #261563
triadic
#152B63 #63152B #2B6315
tetradic
#152B63 #631552 #634D15 #156326
square
#152B63 #631552 #634D15 #156326
split-complementary
#152B63 #632615 #526315
monochromatic
#050B19 #0A1531 #152B63 #204195 #2A57C8

Accessibility & contrast

On white

13.48
#152B63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #152B63
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152B63#FFFFFF#000000##FFFFFF
##152B631.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#033265
Deuteranopia (green-blind)
#002B62
Tritanopia (blue-blind)
#003942
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #152b63;
/* rgb */ color: rgb(21, 43, 99);
/* oklch */ color: oklch(30.8% 0.103 264.8);
Tailwind
colors: {
  custom: {
    50: '#5f6390',
    500: '#152b63',
    950: '#000000',
  },
}
SCSS
$custom: #152b63;
$custom-light: #5f6390;
$custom-dark: #000000;
JSON
{
  "hex": "#152b63",
  "rgb": {
    "r": 21,
    "g": 43,
    "b": 99
  },
  "hsl": {
    "h": 223.077,
    "s": 65,
    "l": 23.529
  },
  "oklch": {
    "l": 0.30805,
    "c": 0.10313,
    "h": 264.8
  },
  "luminance": 0.02788
}

Semantic roles & 50–950 ramp

primary
#152B63
secondary
#9A7F3A
accent
#B940E8
background
#F5F5F8
surface
#EAEAF0
border
#C6C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #152B63

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

Preview Lab → · Contrast checker → · Palette generator →

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