#152C73#152C73

#152C73 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.5% C 0.126 H 265.8°. Best body text is #FFFFFF at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#152C73
RGBrgb(21, 44, 115)
HSLhsl(225, 69%, 27%)
HSVhsv(225, 82%, 45%)
CMYKcmyk(81.7%, 61.7%, 0%, 54.9%)
CIE-LABlab(20.82, 19.50, -43.37)
CIE-LCHlch(20.82, 47.56, 294.21°)
OKLaboklab(32.47% -0.0091 -0.1253)
OKLCHoklch(32.47% 0.126 265.8)
XYZxyz(4.3034, 3.1981, 16.6068)
Luminance0.0320 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152C73 #735C15
analogous
#155B73 #152C73 #2D1573
triadic
#152C73 #73152C #2C7315
tetradic
#152C73 #73155B #735C15 #15732D
square
#152C73 #73155B #735C15 #15732D
split-complementary
#152C73 #732D15 #5B7315
monochromatic
#050A1A #0C183F #152C73 #1E40A7 #2A55D8

Accessibility & contrast

On white

12.81
#152C73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#152C73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152C73
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152C73#FFFFFF#000000##FFFFFF
##152C731.0012.811.6412.81
#FFFFFF12.811.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003775
Deuteranopia (green-blind)
#002E72
Tritanopia (blue-blind)
#003E4B
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #152c73;
/* rgb */ color: rgb(21, 44, 115);
/* oklch */ color: oklch(32.5% 0.126 265.8);
Tailwind
colors: {
  custom: {
    50: '#63649c',
    500: '#152c73',
    950: '#000000',
  },
}
SCSS
$custom: #152c73;
$custom-light: #63649c;
$custom-dark: #000000;
JSON
{
  "hex": "#152c73",
  "rgb": {
    "r": 21,
    "g": 44,
    "b": 115
  },
  "hsl": {
    "h": 225.319,
    "s": 69.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.32469,
    "c": 0.12566,
    "h": 265.8
  },
  "luminance": 0.03199
}

Semantic roles & 50–950 ramp

primary
#152C73
secondary
#A98E3B
accent
#C13CEC
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #152C73

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

Preview Lab → · Contrast checker → · Palette generator →

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