#152373#152373

#152373 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.7% C 0.137 H 268.6°. Best body text is #FFFFFF at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#152373
RGBrgb(21, 35, 115)
HSLhsl(231, 69%, 27%)
HSVhsv(231, 82%, 45%)
CMYKcmyk(81.7%, 69.6%, 0%, 54.9%)
CIE-LABlab(18.36, 25.87, -47.40)
CIE-LCHlch(18.36, 54.00, 298.62°)
OKLaboklab(30.65% -0.0033 -0.1372)
OKLCHoklch(30.65% 0.137 268.6)
XYZxyz(4.0037, 2.5988, 16.5069)
Luminance0.0260 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152373 #736515
analogous
#155273 #152373 #361573
triadic
#152373 #731523 #237315
tetradic
#152373 #731552 #736515 #157336
square
#152373 #731552 #736515 #157336
split-complementary
#152373 #733615 #527315
monochromatic
#05081A #0C133F #152373 #1E33A7 #2A44D8

Accessibility & contrast

On white

13.82
#152373 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#152373 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152373
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152373#FFFFFF#000000##FFFFFF
##1523731.0013.821.5213.82
#FFFFFF13.821.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003175
Deuteranopia (green-blind)
#002872
Tritanopia (blue-blind)
#003947
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #152373;
/* rgb */ color: rgb(21, 35, 115);
/* oklch */ color: oklch(30.7% 0.137 268.6);
Tailwind
colors: {
  custom: {
    50: '#645e9c',
    500: '#152373',
    950: '#000000',
  },
}
SCSS
$custom: #152373;
$custom-light: #645e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#152373",
  "rgb": {
    "r": 21,
    "g": 35,
    "b": 115
  },
  "hsl": {
    "h": 231.064,
    "s": 69.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.30651,
    "c": 0.13726,
    "h": 268.6
  },
  "luminance": 0.02599
}

Semantic roles & 50–950 ramp

primary
#152373
secondary
#A9993B
accent
#D23CEC
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #152373

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

Preview Lab → · Contrast checker → · Palette generator →

#152373 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva