#153177#153177

#153177 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 33.9% C 0.125 H 264.2°. Best body text is #FFFFFF at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#153177
RGBrgb(21, 49, 119)
HSLhsl(223, 70%, 27%)
HSVhsv(223, 82%, 47%)
CMYKcmyk(82.4%, 58.8%, 0%, 53.3%)
CIE-LABlab(22.61, 17.57, -43.02)
CIE-LCHlch(22.61, 46.47, 292.22°)
OKLaboklab(33.92% -0.0125 -0.1242)
OKLCHoklch(33.92% 0.125 264.2)
XYZxyz(4.7362, 3.6874, 17.9113)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#153177 #775B15
analogous
#156277 #153177 #2A1577
triadic
#153177 #771531 #317715
tetradic
#153177 #771562 #775B15 #15772A
square
#153177 #771562 #775B15 #15772A
split-complementary
#153177 #772A15 #627715
monochromatic
#050B1A #0C1C43 #153177 #1E46AB #2D5EDA

Accessibility & contrast

On white

12.09
#153177 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#153177 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #153177
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##153177#FFFFFF#000000##FFFFFF
##1531771.0012.091.7412.09
#FFFFFF12.091.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B79
Deuteranopia (green-blind)
#003276
Tritanopia (blue-blind)
#00424F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #153177;
/* rgb */ color: rgb(21, 49, 119);
/* oklch */ color: oklch(33.9% 0.125 264.2);
Tailwind
colors: {
  custom: {
    50: '#64689f',
    500: '#153177',
    950: '#000000',
  },
}
SCSS
$custom: #153177;
$custom-light: #64689f;
$custom-dark: #000000;
JSON
{
  "hex": "#153177",
  "rgb": {
    "r": 21,
    "g": 49,
    "b": 119
  },
  "hsl": {
    "h": 222.857,
    "s": 70,
    "l": 27.451
  },
  "oklch": {
    "l": 0.3392,
    "c": 0.12482,
    "h": 264.2
  },
  "luminance": 0.03688
}

Semantic roles & 50–950 ramp

primary
#153177
secondary
#AD8C3B
accent
#BA3BED
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #153177

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

Preview Lab → · Contrast checker → · Palette generator →

#153177 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva