#152B73#152B73

#152B73 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.3% C 0.127 H 266.2°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#152B73
RGBrgb(21, 43, 115)
HSLhsl(226, 69%, 27%)
HSVhsv(226, 82%, 45%)
CMYKcmyk(81.7%, 62.6%, 0%, 54.9%)
CIE-LABlab(20.54, 20.22, -43.84)
CIE-LCHlch(20.54, 48.28, 294.76°)
OKLaboklab(32.26% -0.0084 -0.1267)
OKLCHoklch(32.26% 0.127 266.2)
XYZxyz(4.2666, 3.1245, 16.5946)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152B73 #735D15
analogous
#155A73 #152B73 #2E1573
triadic
#152B73 #73152B #2B7315
tetradic
#152B73 #73155A #735D15 #15732E
square
#152B73 #73155A #735D15 #15732E
split-complementary
#152B73 #732E15 #5A7315
monochromatic
#050A1A #0C183F #152B73 #1E3EA7 #2A53D8

Accessibility & contrast

On white

12.92
#152B73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#152B73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152B73
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152B73#FFFFFF#000000##FFFFFF
##152B731.0012.921.6312.92
#FFFFFF12.921.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003675
Deuteranopia (green-blind)
#002D72
Tritanopia (blue-blind)
#003D4A
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #152b73;
/* rgb */ color: rgb(21, 43, 115);
/* oklch */ color: oklch(32.3% 0.127 266.2);
Tailwind
colors: {
  custom: {
    50: '#64639c',
    500: '#152b73',
    950: '#000000',
  },
}
SCSS
$custom: #152b73;
$custom-light: #64639c;
$custom-dark: #000000;
JSON
{
  "hex": "#152b73",
  "rgb": {
    "r": 21,
    "g": 43,
    "b": 115
  },
  "hsl": {
    "h": 225.957,
    "s": 69.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.32257,
    "c": 0.12698,
    "h": 266.2
  },
  "luminance": 0.03125
}

Semantic roles & 50–950 ramp

primary
#152B73
secondary
#A98F3B
accent
#C33CEC
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #152B73

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

Preview Lab → · Contrast checker → · Palette generator →

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