#153F8E#153F8E

#153F8E is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.0% C 0.139 H 261.5°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#153F8E
RGBrgb(21, 63, 142)
HSLhsl(219, 74%, 32%)
HSVhsv(219, 85%, 56%)
CMYKcmyk(85.2%, 55.6%, 0%, 44.3%)
CIE-LABlab(28.56, 17.21, -47.76)
CIE-LCHlch(28.56, 50.76, 289.82°)
OKLaboklab(39% -0.0205 -0.1378)
OKLCHoklch(39% 0.139 261.5)
XYZxyz(6.9675, 5.6666, 26.3125)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#153F8E #8E6415
analogous
#157B8E #153F8E #28158E
triadic
#153F8E #8E153F #3F8E15
tetradic
#153F8E #8E157B #8E6415 #158E28
square
#153F8E #8E157B #8E6415 #158E28
split-complementary
#153F8E #8E2815 #7B8E15
monochromatic
#051023 #0D2759 #153F8E #1D57C3 #3B75E2

Accessibility & contrast

On white

9.84
#153F8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#153F8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #153F8E
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##153F8E#FFFFFF#000000##FFFFFF
##153F8E1.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004991
Deuteranopia (green-blind)
#003E8C
Tritanopia (blue-blind)
#005360
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #153f8e;
/* rgb */ color: rgb(21, 63, 142);
/* oklch */ color: oklch(39.0% 0.139 261.5);
Tailwind
colors: {
  custom: {
    50: '#6a73b0',
    500: '#153f8e',
    950: '#000000',
  },
}
SCSS
$custom: #153f8e;
$custom-light: #6a73b0;
$custom-dark: #000000;
JSON
{
  "hex": "#153f8e",
  "rgb": {
    "r": 21,
    "g": 63,
    "b": 142
  },
  "hsl": {
    "h": 219.174,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.39002,
    "c": 0.13936,
    "h": 261.5
  },
  "luminance": 0.05667
}

Semantic roles & 50–950 ramp

primary
#153F8E
secondary
#C2943D
accent
#B037F1
background
#F6F6FA
surface
#ECECF5
border
#C7C7CF
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #153F8E

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

Preview Lab → · Contrast checker → · Palette generator →

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