#153281#153281

#153281 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.0% C 0.138 H 264.7°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#153281
RGBrgb(21, 50, 129)
HSLhsl(224, 72%, 29%)
HSVhsv(224, 84%, 51%)
CMYKcmyk(83.7%, 61.2%, 0%, 49.4%)
CIE-LABlab(23.75, 20.99, -47.48)
CIE-LCHlch(23.75, 51.91, 293.85°)
OKLaboklab(35.05% -0.0127 -0.1373)
OKLCHoklch(35.05% 0.138 264.7)
XYZxyz(5.4109, 4.0250, 21.2563)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#153281 #816415
analogous
#156881 #153281 #2E1581
triadic
#153281 #811532 #328115
tetradic
#153281 #811568 #816415 #15812E
square
#153281 #811568 #816415 #15812E
split-complementary
#153281 #812E15 #688115
monochromatic
#040A1A #0C1E4C #153281 #1E46B6 #3361DE

Accessibility & contrast

On white

11.63
#153281 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#153281 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #153281
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##153281#FFFFFF#000000##FFFFFF
##1532811.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E84
Deuteranopia (green-blind)
#00347F
Tritanopia (blue-blind)
#004654
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #153281;
/* rgb */ color: rgb(21, 50, 129);
/* oklch */ color: oklch(35.0% 0.138 264.7);
Tailwind
colors: {
  custom: {
    50: '#6769a6',
    500: '#153281',
    950: '#000000',
  },
}
SCSS
$custom: #153281;
$custom-light: #6769a6;
$custom-dark: #000000;
JSON
{
  "hex": "#153281",
  "rgb": {
    "r": 21,
    "g": 50,
    "b": 129
  },
  "hsl": {
    "h": 223.889,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.35046,
    "c": 0.13787,
    "h": 264.7
  },
  "luminance": 0.04026
}

Semantic roles & 50–950 ramp

primary
#153281
secondary
#B6953C
accent
#BE39EF
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #153281

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

Preview Lab → · Contrast checker → · Palette generator →

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