#152984#152984

#152984 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.6% C 0.153 H 267.1°. Best body text is #FFFFFF at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#152984
RGBrgb(21, 41, 132)
HSLhsl(229, 73%, 30%)
HSVhsv(229, 84%, 52%)
CMYKcmyk(84.1%, 68.9%, 0%, 48.2%)
CIE-LABlab(21.62, 28.46, -52.87)
CIE-LCHlch(21.62, 60.04, 298.29°)
OKLaboklab(33.55% -0.0076 -0.1531)
OKLCHoklch(33.55% 0.153 267.1)
XYZxyz(5.2656, 3.4106, 22.2061)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152984 #847015
analogous
#156184 #152984 #381584
triadic
#152984 #841529 #298415
tetradic
#152984 #841561 #847015 #158438
square
#152984 #841561 #847015 #158438
split-complementary
#152984 #843815 #618415
monochromatic
#04081A #0D194F #152984 #1D39B9 #3553DF

Accessibility & contrast

On white

12.48
#152984 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#152984 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152984
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152984#FFFFFF#000000##FFFFFF
##1529841.0012.481.6812.48
#FFFFFF12.481.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003987
Deuteranopia (green-blind)
#002F82
Tritanopia (blue-blind)
#004253
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #152984;
/* rgb */ color: rgb(21, 41, 132);
/* oklch */ color: oklch(33.6% 0.153 267.1);
Tailwind
colors: {
  custom: {
    50: '#6962a9',
    500: '#152984',
    950: '#000000',
  },
}
SCSS
$custom: #152984;
$custom-light: #6962a9;
$custom-dark: #000000;
JSON
{
  "hex": "#152984",
  "rgb": {
    "r": 21,
    "g": 41,
    "b": 132
  },
  "hsl": {
    "h": 229.189,
    "s": 72.549,
    "l": 30
  },
  "oklch": {
    "l": 0.33553,
    "c": 0.15333,
    "h": 267.1
  },
  "luminance": 0.03411
}

Semantic roles & 50–950 ramp

primary
#152984
secondary
#B9A23C
accent
#CE39EF
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#070510
muted
#7A797F

Preview Lab

Preview with #152984

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

Preview Lab → · Contrast checker → · Palette generator →

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