#152484#152484

#152484 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.7% C 0.159 H 268.1°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#152484
RGBrgb(21, 36, 132)
HSLhsl(232, 73%, 30%)
HSVhsv(232, 84%, 52%)
CMYKcmyk(84.1%, 72.7%, 0%, 48.2%)
CIE-LABlab(20.39, 31.79, -54.89)
CIE-LCHlch(20.39, 63.43, 300.08°)
OKLaboklab(32.66% -0.0054 -0.1591)
OKLCHoklch(32.66% 0.159 268.1)
XYZxyz(5.1036, 3.0865, 22.1521)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152484 #847515
analogous
#155B84 #152484 #3E1584
triadic
#152484 #841524 #248415
tetradic
#152484 #84155B #847515 #15843E
square
#152484 #84155B #847515 #15843E
split-complementary
#152484 #843E15 #5B8415
monochromatic
#04071A #0D164F #152484 #1D32B9 #354CDF

Accessibility & contrast

On white

12.98
#152484 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#152484 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152484
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152484#FFFFFF#000000##FFFFFF
##1524841.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003787
Deuteranopia (green-blind)
#002C82
Tritanopia (blue-blind)
#003F51
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #152484;
/* rgb */ color: rgb(21, 36, 132);
/* oklch */ color: oklch(32.7% 0.159 268.1);
Tailwind
colors: {
  custom: {
    50: '#695fa9',
    500: '#152484',
    950: '#000000',
  },
}
SCSS
$custom: #152484;
$custom-light: #695fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#152484",
  "rgb": {
    "r": 21,
    "g": 36,
    "b": 132
  },
  "hsl": {
    "h": 231.892,
    "s": 72.549,
    "l": 30
  },
  "oklch": {
    "l": 0.32659,
    "c": 0.15916,
    "h": 268.1
  },
  "luminance": 0.03087
}

Semantic roles & 50–950 ramp

primary
#152484
secondary
#B9A83C
accent
#D739EF
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#080410
muted
#7A797F

Preview Lab

Preview with #152484

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

Preview Lab → · Contrast checker → · Palette generator →

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