#152D73#152D73

#152D73 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 32.7% C 0.124 H 265.5°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#152D73
RGBrgb(21, 45, 115)
HSLhsl(225, 69%, 27%)
HSVhsv(225, 82%, 45%)
CMYKcmyk(81.7%, 60.9%, 0%, 54.9%)
CIE-LABlab(21.11, 18.78, -42.91)
CIE-LCHlch(21.11, 46.84, 293.64°)
OKLaboklab(32.68% -0.0098 -0.1239)
OKLCHoklch(32.68% 0.124 265.5)
XYZxyz(4.3411, 3.2735, 16.6194)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152D73 #735B15
analogous
#155C73 #152D73 #2C1573
triadic
#152D73 #73152D #2D7315
tetradic
#152D73 #73155C #735B15 #15732C
square
#152D73 #73155C #735B15 #15732C
split-complementary
#152D73 #732C15 #5C7315
monochromatic
#050A1A #0C193F #152D73 #1E41A7 #2A57D8

Accessibility & contrast

On white

12.69
#152D73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#152D73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152D73
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152D73#FFFFFF#000000##FFFFFF
##152D731.0012.691.6512.69
#FFFFFF12.691.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003775
Deuteranopia (green-blind)
#002F72
Tritanopia (blue-blind)
#003F4B
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #152d73;
/* rgb */ color: rgb(21, 45, 115);
/* oklch */ color: oklch(32.7% 0.124 265.5);
Tailwind
colors: {
  custom: {
    50: '#63659c',
    500: '#152d73',
    950: '#000000',
  },
}
SCSS
$custom: #152d73;
$custom-light: #63659c;
$custom-dark: #000000;
JSON
{
  "hex": "#152d73",
  "rgb": {
    "r": 21,
    "g": 45,
    "b": 115
  },
  "hsl": {
    "h": 224.681,
    "s": 69.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.32684,
    "c": 0.12432,
    "h": 265.5
  },
  "luminance": 0.03274
}

Semantic roles & 50–950 ramp

primary
#152D73
secondary
#A98D3B
accent
#BF3CEC
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #152D73

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

Preview Lab → · Contrast checker → · Palette generator →

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