#153882#153882

#153882 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.4% C 0.131 H 262.7°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#153882
RGBrgb(21, 56, 130)
HSLhsl(221, 72%, 30%)
HSVhsv(221, 84%, 51%)
CMYKcmyk(83.8%, 56.9%, 0%, 49%)
CIE-LABlab(25.56, 17.16, -45.17)
CIE-LCHlch(25.56, 48.32, 290.80°)
OKLaboklab(36.43% -0.0167 -0.1304)
OKLCHoklch(36.43% 0.131 262.7)
XYZxyz(5.7513, 4.5988, 21.6993)
Luminance0.0460 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#153882 #825F15
analogous
#156F82 #153882 #291582
triadic
#153882 #821538 #388215
tetradic
#153882 #82156F #825F15 #158229
square
#153882 #82156F #825F15 #158229
split-complementary
#153882 #822915 #6F8215
monochromatic
#040B1A #0C214D #153882 #1E4FB7 #336ADE

Accessibility & contrast

On white

10.94
#153882 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#153882 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #153882
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##153882#FFFFFF#000000##FFFFFF
##1538821.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004285
Deuteranopia (green-blind)
#003881
Tritanopia (blue-blind)
#004A57
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #153882;
/* rgb */ color: rgb(21, 56, 130);
/* oklch */ color: oklch(36.4% 0.131 262.7);
Tailwind
colors: {
  custom: {
    50: '#676ea7',
    500: '#153882',
    950: '#000000',
  },
}
SCSS
$custom: #153882;
$custom-light: #676ea7;
$custom-dark: #000000;
JSON
{
  "hex": "#153882",
  "rgb": {
    "r": 21,
    "g": 56,
    "b": 130
  },
  "hsl": {
    "h": 220.734,
    "s": 72.185,
    "l": 29.608
  },
  "oklch": {
    "l": 0.36431,
    "c": 0.13145,
    "h": 262.7
  },
  "luminance": 0.04599
}

Semantic roles & 50–950 ramp

primary
#153882
secondary
#B78F3C
accent
#B439EF
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #153882

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

Preview Lab → · Contrast checker → · Palette generator →

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