#153A7F#153A7F

#153A7F is a dark, vivid blue. Relative luminance 0.047; OKLCH L 36.6% C 0.125 H 261.4°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#153A7F
RGBrgb(21, 58, 127)
HSLhsl(219, 72%, 29%)
HSVhsv(219, 83%, 50%)
CMYKcmyk(83.5%, 54.3%, 0%, 50.2%)
CIE-LABlab(25.91, 14.50, -42.71)
CIE-LCHlch(25.91, 45.11, 288.75°)
OKLaboklab(36.62% -0.0185 -0.1231)
OKLCHoklch(36.62% 0.125 261.4)
XYZxyz(5.6517, 4.7172, 20.6872)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#153A7F #7F5A15
analogous
#156F7F #153A7F #25157F
triadic
#153A7F #7F153A #3A7F15
tetradic
#153A7F #7F156F #7F5A15 #157F25
square
#153A7F #7F156F #7F5A15 #157F25
split-complementary
#153A7F #7F2515 #6F7F15
monochromatic
#040C1A #0C224A #153A7F #1E52B4 #316DDD

Accessibility & contrast

On white

10.80
#153A7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#153A7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #153A7F
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##153A7F#FFFFFF#000000##FFFFFF
##153A7F1.0010.801.9410.80
#FFFFFF10.801.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#074281
Deuteranopia (green-blind)
#00397E
Tritanopia (blue-blind)
#004B56
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #153a7f;
/* rgb */ color: rgb(21, 58, 127);
/* oklch */ color: oklch(36.6% 0.125 261.4);
Tailwind
colors: {
  custom: {
    50: '#666fa5',
    500: '#153a7f',
    950: '#000000',
  },
}
SCSS
$custom: #153a7f;
$custom-light: #666fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#153a7f",
  "rgb": {
    "r": 21,
    "g": 58,
    "b": 127
  },
  "hsl": {
    "h": 219.057,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.36624,
    "c": 0.12451,
    "h": 261.4
  },
  "luminance": 0.04718
}

Semantic roles & 50–950 ramp

primary
#153A7F
secondary
#B48A3C
accent
#AF39EE
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #153A7F

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

Preview Lab → · Contrast checker → · Palette generator →

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