#153A8E#153A8E

#153A8E is a dark, vivid blue. Relative luminance 0.051; OKLCH L 37.9% C 0.146 H 263.2°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#153A8E
RGBrgb(21, 58, 142)
HSLhsl(222, 74%, 32%)
HSVhsv(222, 85%, 56%)
CMYKcmyk(85.2%, 59.2%, 0%, 44.3%)
CIE-LABlab(27.12, 20.70, -50.08)
CIE-LCHlch(27.12, 54.19, 292.46°)
OKLaboklab(37.92% -0.0172 -0.1448)
OKLCHoklch(37.92% 0.146 263.2)
XYZxyz(6.7031, 5.1377, 26.2243)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#153A8E #8E6915
analogous
#15778E #153A8E #2D158E
triadic
#153A8E #8E153A #3A8E15
tetradic
#153A8E #8E1577 #8E6915 #158E2D
square
#153A8E #8E1577 #8E6915 #158E2D
split-complementary
#153A8E #8E2D15 #778E15
monochromatic
#050E23 #0D2459 #153A8E #1D50C3 #3B6EE2

Accessibility & contrast

On white

10.36
#153A8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#153A8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #153A8E
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##153A8E#FFFFFF#000000##FFFFFF
##153A8E1.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004691
Deuteranopia (green-blind)
#003B8C
Tritanopia (blue-blind)
#004F5E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #153a8e;
/* rgb */ color: rgb(21, 58, 142);
/* oklch */ color: oklch(37.9% 0.146 263.2);
Tailwind
colors: {
  custom: {
    50: '#6a6fb0',
    500: '#153a8e',
    950: '#000000',
  },
}
SCSS
$custom: #153a8e;
$custom-light: #6a6fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#153a8e",
  "rgb": {
    "r": 21,
    "g": 58,
    "b": 142
  },
  "hsl": {
    "h": 221.653,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.37921,
    "c": 0.1458,
    "h": 263.2
  },
  "luminance": 0.05139
}

Semantic roles & 50–950 ramp

primary
#153A8E
secondary
#C2993D
accent
#B837F1
background
#F6F6FA
surface
#ECECF5
border
#C7C7CF
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #153A8E

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

Preview Lab → · Contrast checker → · Palette generator →

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