#153181#153181

#153181 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.8% C 0.139 H 265.0°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#153181
RGBrgb(21, 49, 129)
HSLhsl(224, 72%, 29%)
HSVhsv(224, 84%, 51%)
CMYKcmyk(83.7%, 62%, 0%, 49.4%)
CIE-LABlab(23.47, 21.70, -47.94)
CIE-LCHlch(23.47, 52.62, 294.35°)
OKLaboklab(34.84% -0.0121 -0.1386)
OKLCHoklch(34.84% 0.139 265)
XYZxyz(5.3686, 3.9404, 21.2422)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#153181 #816515
analogous
#156781 #153181 #2F1581
triadic
#153181 #811531 #318115
tetradic
#153181 #811567 #816515 #15812F
square
#153181 #811567 #816515 #15812F
split-complementary
#153181 #812F15 #678115
monochromatic
#040A1A #0C1D4C #153181 #1E45B6 #335FDE

Accessibility & contrast

On white

11.74
#153181 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#153181 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #153181
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##153181#FFFFFF#000000##FFFFFF
##1531811.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D84
Deuteranopia (green-blind)
#00337F
Tritanopia (blue-blind)
#004654
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #153181;
/* rgb */ color: rgb(21, 49, 129);
/* oklch */ color: oklch(34.8% 0.139 265.0);
Tailwind
colors: {
  custom: {
    50: '#6768a6',
    500: '#153181',
    950: '#000000',
  },
}
SCSS
$custom: #153181;
$custom-light: #6768a6;
$custom-dark: #000000;
JSON
{
  "hex": "#153181",
  "rgb": {
    "r": 21,
    "g": 49,
    "b": 129
  },
  "hsl": {
    "h": 224.444,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.34836,
    "c": 0.13917,
    "h": 265
  },
  "luminance": 0.03941
}

Semantic roles & 50–950 ramp

primary
#153181
secondary
#B6963C
accent
#C039EF
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #153181

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

Preview Lab → · Contrast checker → · Palette generator →

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