#152380#152380

#152380 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.0% C 0.155 H 268.3°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).

Color values

HEX#152380
RGBrgb(21, 35, 128)
HSLhsl(232, 72%, 29%)
HSVhsv(232, 84%, 50%)
CMYKcmyk(83.6%, 72.7%, 0%, 49.8%)
CIE-LABlab(19.72, 30.92, -53.47)
CIE-LCHlch(19.72, 61.77, 300.04°)
OKLaboklab(32.05% -0.0045 -0.1549)
OKLCHoklch(32.05% 0.155 268.3)
XYZxyz(4.8052, 2.9194, 20.7281)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152380 #807215
analogous
#155980 #152380 #3D1580
triadic
#152380 #801523 #238015
tetradic
#152380 #801559 #807215 #15803D
square
#152380 #801559 #807215 #15803D
split-complementary
#152380 #803D15 #598015
monochromatic
#04071A #0C154B #152380 #1E31B5 #3248DD

Accessibility & contrast

On white

13.26
#152380 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#152380 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152380
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152380#FFFFFF#000000##FFFFFF
##1523801.0013.261.5813.26
#FFFFFF13.261.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003583
Deuteranopia (green-blind)
#002A7E
Tritanopia (blue-blind)
#003D4F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #152380;
/* rgb */ color: rgb(21, 35, 128);
/* oklch */ color: oklch(32.0% 0.155 268.3);
Tailwind
colors: {
  custom: {
    50: '#685ea6',
    500: '#152380',
    950: '#000000',
  },
}
SCSS
$custom: #152380;
$custom-light: #685ea6;
$custom-dark: #000000;
JSON
{
  "hex": "#152380",
  "rgb": {
    "r": 21,
    "g": 35,
    "b": 128
  },
  "hsl": {
    "h": 232.15,
    "s": 71.812,
    "l": 29.216
  },
  "oklch": {
    "l": 0.32047,
    "c": 0.15499,
    "h": 268.3
  },
  "luminance": 0.0292
}

Semantic roles & 50–950 ramp

primary
#152380
secondary
#B5A53C
accent
#D739EF
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #152380

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

Preview Lab → · Contrast checker → · Palette generator →

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