#153F7F#153F7F

#153F7F is a dark, moderate blue. Relative luminance 0.052; OKLCH L 37.8% C 0.118 H 259.0°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#153F7F
RGBrgb(21, 63, 127)
HSLhsl(216, 72%, 29%)
HSVhsv(216, 83%, 50%)
CMYKcmyk(83.5%, 50.4%, 0%, 50.2%)
CIE-LABlab(27.42, 10.98, -40.27)
CIE-LCHlch(27.42, 41.74, 285.25°)
OKLaboklab(37.78% -0.0225 -0.1158)
OKLCHoklch(37.78% 0.118 259)
XYZxyz(5.9161, 5.2460, 20.7753)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#153F7F #7F5515
analogous
#15747F #153F7F #20157F
triadic
#153F7F #7F153F #3F7F15
tetradic
#153F7F #7F1574 #7F5515 #157F20
square
#153F7F #7F1574 #7F5515 #157F20
split-complementary
#153F7F #7F2015 #747F15
monochromatic
#040D1A #0C254A #153F7F #1E59B4 #3175DD

Accessibility & contrast

On white

10.25
#153F7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#153F7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #153F7F
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##153F7F#FFFFFF#000000##FFFFFF
##153F7F1.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194681
Deuteranopia (green-blind)
#003C7E
Tritanopia (blue-blind)
#004E59
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #153f7f;
/* rgb */ color: rgb(21, 63, 127);
/* oklch */ color: oklch(37.8% 0.118 259.0);
Tailwind
colors: {
  custom: {
    50: '#6573a5',
    500: '#153f7f',
    950: '#000000',
  },
}
SCSS
$custom: #153f7f;
$custom-light: #6573a5;
$custom-dark: #000000;
JSON
{
  "hex": "#153f7f",
  "rgb": {
    "r": 21,
    "g": 63,
    "b": 127
  },
  "hsl": {
    "h": 216.226,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.3778,
    "c": 0.11798,
    "h": 259
  },
  "luminance": 0.05247
}

Semantic roles & 50–950 ramp

primary
#153F7F
secondary
#B4843C
accent
#A739EE
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #153F7F

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

Preview Lab → · Contrast checker → · Palette generator →

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