#152379#152379

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

Color values

HEX#152379
RGBrgb(21, 35, 121)
HSLhsl(232, 70%, 28%)
HSVhsv(232, 83%, 47%)
CMYKcmyk(82.6%, 71.1%, 0%, 52.5%)
CIE-LABlab(18.98, 28.23, -50.24)
CIE-LCHlch(18.98, 57.62, 299.33°)
OKLaboklab(31.29% -0.0038 -0.1455)
OKLCHoklch(31.29% 0.146 268.5)
XYZxyz(4.3603, 2.7415, 18.3848)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152379 #796B15
analogous
#155579 #152379 #391579
triadic
#152379 #791523 #237915
tetradic
#152379 #791555 #796B15 #157939
square
#152379 #791555 #796B15 #157939
split-complementary
#152379 #793915 #557915
monochromatic
#05081A #0C1445 #152379 #1E32AD #2E46DB

Accessibility & contrast

On white

13.56
#152379 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#152379 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152379
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152379#FFFFFF#000000##FFFFFF
##1523791.0013.561.5513.56
#FFFFFF13.561.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337C
Deuteranopia (green-blind)
#002977
Tritanopia (blue-blind)
#003B4B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #152379;
/* rgb */ color: rgb(21, 35, 121);
/* oklch */ color: oklch(31.3% 0.146 268.5);
Tailwind
colors: {
  custom: {
    50: '#665ea1',
    500: '#152379',
    950: '#000000',
  },
}
SCSS
$custom: #152379;
$custom-light: #665ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#152379",
  "rgb": {
    "r": 21,
    "g": 35,
    "b": 121
  },
  "hsl": {
    "h": 231.6,
    "s": 70.423,
    "l": 27.843
  },
  "oklch": {
    "l": 0.31288,
    "c": 0.14555,
    "h": 268.5
  },
  "luminance": 0.02742
}

Semantic roles & 50–950 ramp

primary
#152379
secondary
#AF9E3B
accent
#D43BED
background
#F6F5FA
surface
#EBE9F3
border
#C6C5CD
text
#07040F
muted
#7A797F

Preview Lab

Preview with #152379

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

Preview Lab → · Contrast checker → · Palette generator →

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