#153F9F#153F9F

#153F9F is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.5% C 0.163 H 263.2°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#153F9F
RGBrgb(21, 63, 159)
HSLhsl(222, 77%, 35%)
HSVhsv(222, 87%, 62%)
CMYKcmyk(86.8%, 60.4%, 0%, 37.6%)
CIE-LABlab(29.95, 24.14, -55.86)
CIE-LCHlch(29.95, 60.85, 293.37°)
OKLaboklab(40.49% -0.0193 -0.1616)
OKLCHoklch(40.49% 0.163 263.2)
XYZxyz(8.3425, 6.2166, 33.5544)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#153F9F #9F7515
analogous
#15849F #153F9F #30159F
triadic
#153F9F #9F153F #3F9F15
tetradic
#153F9F #9F1584 #9F7515 #159F30
square
#153F9F #9F1584 #9F7515 #159F30
split-complementary
#153F9F #9F3015 #849F15
monochromatic
#071433 #0E2A69 #153F9F #1C54D5 #4878E7

Accessibility & contrast

On white

9.36
#153F9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#153F9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #153F9F
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##153F9F#FFFFFF#000000##FFFFFF
##153F9F1.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA2
Deuteranopia (green-blind)
#00409D
Tritanopia (blue-blind)
#005868
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #153f9f;
/* rgb */ color: rgb(21, 63, 159);
/* oklch */ color: oklch(40.5% 0.163 263.2);
Tailwind
colors: {
  custom: {
    50: '#6e73bc',
    500: '#153f9f',
    950: '#000000',
  },
}
SCSS
$custom: #153f9f;
$custom-light: #6e73bc;
$custom-dark: #000000;
JSON
{
  "hex": "#153f9f",
  "rgb": {
    "r": 21,
    "g": 63,
    "b": 159
  },
  "hsl": {
    "h": 221.739,
    "s": 76.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.40492,
    "c": 0.1628,
    "h": 263.2
  },
  "luminance": 0.06218
}

Semantic roles & 50–950 ramp

primary
#153F9F
secondary
#C8A148
accent
#B935F3
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #153F9F

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

Preview Lab → · Contrast checker → · Palette generator →

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