#153E7F#153E7F

#153E7F is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.5% C 0.119 H 259.5°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#153E7F
RGBrgb(21, 62, 127)
HSLhsl(217, 72%, 29%)
HSVhsv(217, 83%, 50%)
CMYKcmyk(83.5%, 51.2%, 0%, 50.2%)
CIE-LABlab(27.12, 11.68, -40.76)
CIE-LCHlch(27.12, 42.40, 285.99°)
OKLaboklab(37.55% -0.0217 -0.1173)
OKLCHoklch(37.55% 0.119 259.5)
XYZxyz(5.8613, 5.1363, 20.7570)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#153E7F #7F5615
analogous
#15737F #153E7F #21157F
triadic
#153E7F #7F153E #3E7F15
tetradic
#153E7F #7F1573 #7F5615 #157F21
square
#153E7F #7F1573 #7F5615 #157F21
split-complementary
#153E7F #7F2115 #737F15
monochromatic
#040D1A #0C244A #153E7F #1E58B4 #3174DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##153E7F#FFFFFF#000000##FFFFFF
##153E7F1.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)
#174581
Deuteranopia (green-blind)
#003C7E
Tritanopia (blue-blind)
#004E58
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #153e7f;
/* rgb */ color: rgb(21, 62, 127);
/* oklch */ color: oklch(37.5% 0.119 259.5);
Tailwind
colors: {
  custom: {
    50: '#6672a5',
    500: '#153e7f',
    950: '#000000',
  },
}
SCSS
$custom: #153e7f;
$custom-light: #6672a5;
$custom-dark: #000000;
JSON
{
  "hex": "#153e7f",
  "rgb": {
    "r": 21,
    "g": 62,
    "b": 127
  },
  "hsl": {
    "h": 216.792,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.37546,
    "c": 0.11928,
    "h": 259.5
  },
  "luminance": 0.05137
}

Semantic roles & 50–950 ramp

primary
#153E7F
secondary
#B4863C
accent
#A839EE
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #153E7F

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

Preview Lab → · Contrast checker → · Palette generator →

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