#153A7C#153A7C

#153A7C is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.4% C 0.120 H 260.9°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#153A7C
RGBrgb(21, 58, 124)
HSLhsl(218, 71%, 28%)
HSVhsv(218, 83%, 49%)
CMYKcmyk(83.1%, 53.2%, 0%, 51.4%)
CIE-LABlab(25.68, 13.24, -41.20)
CIE-LCHlch(25.68, 43.27, 287.82°)
OKLaboklab(36.38% -0.0189 -0.1187)
OKLCHoklch(36.38% 0.12 260.9)
XYZxyz(5.4591, 4.6401, 19.6728)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#153A7C #7C5715
analogous
#156D7C #153A7C #24157C
triadic
#153A7C #7C153A #3A7C15
tetradic
#153A7C #7C156D #7C5715 #157C24
square
#153A7C #7C156D #7C5715 #157C24
split-complementary
#153A7C #7C2415 #6D7C15
monochromatic
#040C1A #0C2248 #153A7C #1E52B0 #306DDC

Accessibility & contrast

On white

10.89
#153A7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #153A7C
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##153A7C#FFFFFF#000000##FFFFFF
##153A7C1.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E427E
Deuteranopia (green-blind)
#00387B
Tritanopia (blue-blind)
#004A55
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #153a7c;
/* rgb */ color: rgb(21, 58, 124);
/* oklch */ color: oklch(36.4% 0.120 260.9);
Tailwind
colors: {
  custom: {
    50: '#656fa2',
    500: '#153a7c',
    950: '#000000',
  },
}
SCSS
$custom: #153a7c;
$custom-light: #656fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#153a7c",
  "rgb": {
    "r": 21,
    "g": 58,
    "b": 124
  },
  "hsl": {
    "h": 218.447,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.36377,
    "c": 0.12016,
    "h": 260.9
  },
  "luminance": 0.04641
}

Semantic roles & 50–950 ramp

primary
#153A7C
secondary
#B1873C
accent
#AD3AEE
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#06070F
muted
#7A7A7F

Preview Lab

Preview with #153A7C

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

Preview Lab → · Contrast checker → · Palette generator →

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