#152684#152684

#152684 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.0% C 0.157 H 267.7°. Best body text is #FFFFFF at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#152684
RGBrgb(21, 38, 132)
HSLhsl(231, 73%, 30%)
HSVhsv(231, 84%, 52%)
CMYKcmyk(84.1%, 71.2%, 0%, 48.2%)
CIE-LABlab(20.87, 30.47, -54.10)
CIE-LCHlch(20.87, 62.09, 299.39°)
OKLaboklab(33.01% -0.0062 -0.1567)
OKLCHoklch(33.01% 0.157 267.7)
XYZxyz(5.1658, 3.2110, 22.1728)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152684 #847315
analogous
#155D84 #152684 #3C1584
triadic
#152684 #841526 #268415
tetradic
#152684 #84155D #847315 #15843C
square
#152684 #84155D #847315 #15843C
split-complementary
#152684 #843C15 #5D8415
monochromatic
#04081A #0D174F #152684 #1D35B9 #354FDF

Accessibility & contrast

On white

12.79
#152684 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#152684 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152684
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152684#FFFFFF#000000##FFFFFF
##1526841.0012.791.6412.79
#FFFFFF12.791.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003887
Deuteranopia (green-blind)
#002D82
Tritanopia (blue-blind)
#004052
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #152684;
/* rgb */ color: rgb(21, 38, 132);
/* oklch */ color: oklch(33.0% 0.157 267.7);
Tailwind
colors: {
  custom: {
    50: '#6960a9',
    500: '#152684',
    950: '#000000',
  },
}
SCSS
$custom: #152684;
$custom-light: #6960a9;
$custom-dark: #000000;
JSON
{
  "hex": "#152684",
  "rgb": {
    "r": 21,
    "g": 38,
    "b": 132
  },
  "hsl": {
    "h": 230.811,
    "s": 72.549,
    "l": 30
  },
  "oklch": {
    "l": 0.33008,
    "c": 0.15687,
    "h": 267.7
  },
  "luminance": 0.03212
}

Semantic roles & 50–950 ramp

primary
#152684
secondary
#B9A63C
accent
#D339EF
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#070510
muted
#7A797F

Preview Lab

Preview with #152684

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

Preview Lab → · Contrast checker → · Palette generator →

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