#153F8A#153F8A

#153F8A is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.7% C 0.134 H 261.0°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#153F8A
RGBrgb(21, 63, 138)
HSLhsl(218, 74%, 31%)
HSVhsv(218, 85%, 54%)
CMYKcmyk(84.8%, 54.3%, 0%, 45.9%)
CIE-LABlab(28.24, 15.56, -45.79)
CIE-LCHlch(28.24, 48.36, 288.76°)
OKLaboklab(38.67% -0.0209 -0.1321)
OKLCHoklch(38.67% 0.134 261)
XYZxyz(6.6725, 5.5486, 24.7591)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#153F8A #8A6015
analogous
#15798A #153F8A #26158A
triadic
#153F8A #8A153F #3F8A15
tetradic
#153F8A #8A1579 #8A6015 #158A26
square
#153F8A #8A1579 #8A6015 #158A26
split-complementary
#153F8A #8A2615 #798A15
monochromatic
#050F20 #0D2755 #153F8A #1D57BF #3975E1

Accessibility & contrast

On white

9.95
#153F8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#153F8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #153F8A
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##153F8A#FFFFFF#000000##FFFFFF
##153F8A1.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05488D
Deuteranopia (green-blind)
#003E89
Tritanopia (blue-blind)
#00515E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #153f8a;
/* rgb */ color: rgb(21, 63, 138);
/* oklch */ color: oklch(38.7% 0.134 261.0);
Tailwind
colors: {
  custom: {
    50: '#6873ad',
    500: '#153f8a',
    950: '#000000',
  },
}
SCSS
$custom: #153f8a;
$custom-light: #6873ad;
$custom-dark: #000000;
JSON
{
  "hex": "#153f8a",
  "rgb": {
    "r": 21,
    "g": 63,
    "b": 138
  },
  "hsl": {
    "h": 218.462,
    "s": 73.585,
    "l": 31.176
  },
  "oklch": {
    "l": 0.38667,
    "c": 0.13372,
    "h": 261
  },
  "luminance": 0.05549
}

Semantic roles & 50–950 ramp

primary
#153F8A
secondary
#BE903D
accent
#AE38F0
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #153F8A

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

Preview Lab → · Contrast checker → · Palette generator →

#153F8A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva