#152376#152376

#152376 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.0% C 0.141 H 268.5°. Best body text is #FFFFFF at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#152376
RGBrgb(21, 35, 118)
HSLhsl(231, 70%, 27%)
HSVhsv(231, 82%, 46%)
CMYKcmyk(82.2%, 70.3%, 0%, 53.7%)
CIE-LABlab(18.67, 27.05, -48.83)
CIE-LCHlch(18.67, 55.82, 298.99°)
OKLaboklab(30.97% -0.0036 -0.1414)
OKLCHoklch(30.97% 0.141 268.5)
XYZxyz(4.1792, 2.6690, 17.4309)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152376 #766815
analogous
#155476 #152376 #371576
triadic
#152376 #761523 #237615
tetradic
#152376 #761554 #766815 #157637
square
#152376 #761554 #766815 #157637
split-complementary
#152376 #763715 #547615
monochromatic
#05081A #0C1442 #152376 #1E32AA #2C45D9

Accessibility & contrast

On white

13.69
#152376 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#152376 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152376
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152376#FFFFFF#000000##FFFFFF
##1523761.0013.691.5313.69
#FFFFFF13.691.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003279
Deuteranopia (green-blind)
#002974
Tritanopia (blue-blind)
#003A49
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #152376;
/* rgb */ color: rgb(21, 35, 118);
/* oklch */ color: oklch(31.0% 0.141 268.5);
Tailwind
colors: {
  custom: {
    50: '#655e9e',
    500: '#152376',
    950: '#000000',
  },
}
SCSS
$custom: #152376;
$custom-light: #655e9e;
$custom-dark: #000000;
JSON
{
  "hex": "#152376",
  "rgb": {
    "r": 21,
    "g": 35,
    "b": 118
  },
  "hsl": {
    "h": 231.34,
    "s": 69.784,
    "l": 27.255
  },
  "oklch": {
    "l": 0.30967,
    "c": 0.14144,
    "h": 268.5
  },
  "luminance": 0.02669
}

Semantic roles & 50–950 ramp

primary
#152376
secondary
#AC9B3B
accent
#D33BED
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #152376

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

Preview Lab → · Contrast checker → · Palette generator →

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