#153F88#153F88

#153F88 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.5% C 0.131 H 260.7°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#153F88
RGBrgb(21, 63, 136)
HSLhsl(218, 73%, 31%)
HSVhsv(218, 85%, 53%)
CMYKcmyk(84.6%, 53.7%, 0%, 46.7%)
CIE-LABlab(28.09, 14.73, -44.80)
CIE-LCHlch(28.09, 47.16, 288.20°)
OKLaboklab(38.5% -0.0212 -0.1291)
OKLCHoklch(38.5% 0.131 260.7)
XYZxyz(6.5291, 5.4912, 24.0036)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#153F88 #885E15
analogous
#157888 #153F88 #241588
triadic
#153F88 #88153F #3F8815
tetradic
#153F88 #881578 #885E15 #158824
square
#153F88 #881578 #885E15 #158824
split-complementary
#153F88 #882415 #788815
monochromatic
#050E1E #0D2653 #153F88 #1D58BD #3775E0

Accessibility & contrast

On white

10.01
#153F88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#153F88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #153F88
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##153F88#FFFFFF#000000##FFFFFF
##153F881.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A488B
Deuteranopia (green-blind)
#003D87
Tritanopia (blue-blind)
#00515D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #153f88;
/* rgb */ color: rgb(21, 63, 136);
/* oklch */ color: oklch(38.5% 0.131 260.7);
Tailwind
colors: {
  custom: {
    50: '#6873ab',
    500: '#153f88',
    950: '#000000',
  },
}
SCSS
$custom: #153f88;
$custom-light: #6873ab;
$custom-dark: #000000;
JSON
{
  "hex": "#153f88",
  "rgb": {
    "r": 21,
    "g": 63,
    "b": 136
  },
  "hsl": {
    "h": 218.087,
    "s": 73.248,
    "l": 30.784
  },
  "oklch": {
    "l": 0.38502,
    "c": 0.13088,
    "h": 260.7
  },
  "luminance": 0.05492
}

Semantic roles & 50–950 ramp

primary
#153F88
secondary
#BC8E3D
accent
#AD38F0
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #153F88

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

Preview Lab → · Contrast checker → · Palette generator →

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