#153A7D#153A7D

#153A7D is a dark, vivid blue. Relative luminance 0.047; OKLCH L 36.5% C 0.122 H 261.1°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#153A7D
RGBrgb(21, 58, 125)
HSLhsl(219, 71%, 29%)
HSVhsv(219, 83%, 49%)
CMYKcmyk(83.2%, 53.6%, 0%, 51%)
CIE-LABlab(25.76, 13.66, -41.70)
CIE-LCHlch(25.76, 43.88, 288.14°)
OKLaboklab(36.46% -0.0188 -0.1201)
OKLCHoklch(36.46% 0.122 261.1)
XYZxyz(5.5226, 4.6655, 20.0075)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#153A7D #7D5815
analogous
#156E7D #153A7D #24157D
triadic
#153A7D #7D153A #3A7D15
tetradic
#153A7D #7D156E #7D5815 #157D24
square
#153A7D #7D156E #7D5815 #157D24
split-complementary
#153A7D #7D2415 #6E7D15
monochromatic
#040C1A #0C2249 #153A7D #1E52B1 #306DDC

Accessibility & contrast

On white

10.86
#153A7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#153A7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #153A7D
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##153A7D#FFFFFF#000000##FFFFFF
##153A7D1.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C427F
Deuteranopia (green-blind)
#00397C
Tritanopia (blue-blind)
#004A55
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #153a7d;
/* rgb */ color: rgb(21, 58, 125);
/* oklch */ color: oklch(36.5% 0.122 261.1);
Tailwind
colors: {
  custom: {
    50: '#656fa3',
    500: '#153a7d',
    950: '#000000',
  },
}
SCSS
$custom: #153a7d;
$custom-light: #656fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#153a7d",
  "rgb": {
    "r": 21,
    "g": 58,
    "b": 125
  },
  "hsl": {
    "h": 218.654,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.36459,
    "c": 0.12161,
    "h": 261.1
  },
  "luminance": 0.04666
}

Semantic roles & 50–950 ramp

primary
#153A7D
secondary
#B2883C
accent
#AE3AEE
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #153A7D

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

Preview Lab → · Contrast checker → · Palette generator →

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