#152680#152680

#152680 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.6% C 0.151 H 267.8°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#152680
RGBrgb(21, 38, 128)
HSLhsl(230, 72%, 29%)
HSVhsv(230, 84%, 50%)
CMYKcmyk(83.6%, 70.3%, 0%, 49.8%)
CIE-LABlab(20.45, 28.93, -52.26)
CIE-LCHlch(20.45, 59.73, 298.97°)
OKLaboklab(32.58% -0.0059 -0.1514)
OKLCHoklch(32.58% 0.151 267.8)
XYZxyz(4.8973, 3.1036, 20.7588)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152680 #806F15
analogous
#155C80 #152680 #3A1580
triadic
#152680 #801526 #268015
tetradic
#152680 #80155C #806F15 #15803A
square
#152680 #80155C #806F15 #15803A
split-complementary
#152680 #803A15 #5C8015
monochromatic
#04081A #0C164B #152680 #1E36B5 #324DDD

Accessibility & contrast

On white

12.96
#152680 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #152680
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152680#FFFFFF#000000##FFFFFF
##1526801.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003683
Deuteranopia (green-blind)
#002C7E
Tritanopia (blue-blind)
#003F4F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #152680;
/* rgb */ color: rgb(21, 38, 128);
/* oklch */ color: oklch(32.6% 0.151 267.8);
Tailwind
colors: {
  custom: {
    50: '#6860a6',
    500: '#152680',
    950: '#000000',
  },
}
SCSS
$custom: #152680;
$custom-light: #6860a6;
$custom-dark: #000000;
JSON
{
  "hex": "#152680",
  "rgb": {
    "r": 21,
    "g": 38,
    "b": 128
  },
  "hsl": {
    "h": 230.467,
    "s": 71.812,
    "l": 29.216
  },
  "oklch": {
    "l": 0.32581,
    "c": 0.15149,
    "h": 267.8
  },
  "luminance": 0.03104
}

Semantic roles & 50–950 ramp

primary
#152680
secondary
#B5A23C
accent
#D239EF
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #152680

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

Preview Lab → · Contrast checker → · Palette generator →

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