#153174#153174

#153174 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 33.7% C 0.120 H 263.9°. Best body text is #FFFFFF at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#153174
RGBrgb(21, 49, 116)
HSLhsl(222, 69%, 27%)
HSVhsv(222, 82%, 45%)
CMYKcmyk(81.9%, 57.8%, 0%, 54.5%)
CIE-LABlab(22.36, 16.32, -41.51)
CIE-LCHlch(22.36, 44.60, 291.46°)
OKLaboklab(33.65% -0.0128 -0.1197)
OKLCHoklch(33.65% 0.12 263.9)
XYZxyz(4.5588, 3.6165, 16.9774)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#153174 #745815
analogous
#156174 #153174 #291574
triadic
#153174 #741531 #317415
tetradic
#153174 #741561 #745815 #157429
square
#153174 #741561 #745815 #157429
split-complementary
#153174 #742915 #617415
monochromatic
#050B1A #0C1B40 #153174 #1E47A8 #2B5ED9

Accessibility & contrast

On white

12.19
#153174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#153174 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #153174
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##153174#FFFFFF#000000##FFFFFF
##1531741.0012.191.7212.19
#FFFFFF12.191.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A76
Deuteranopia (green-blind)
#003173
Tritanopia (blue-blind)
#00424D
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #153174;
/* rgb */ color: rgb(21, 49, 116);
/* oklch */ color: oklch(33.7% 0.120 263.9);
Tailwind
colors: {
  custom: {
    50: '#63689d',
    500: '#153174',
    950: '#000000',
  },
}
SCSS
$custom: #153174;
$custom-light: #63689d;
$custom-dark: #000000;
JSON
{
  "hex": "#153174",
  "rgb": {
    "r": 21,
    "g": 49,
    "b": 116
  },
  "hsl": {
    "h": 222.316,
    "s": 69.343,
    "l": 26.863
  },
  "oklch": {
    "l": 0.33653,
    "c": 0.12043,
    "h": 263.9
  },
  "luminance": 0.03617
}

Semantic roles & 50–950 ramp

primary
#153174
secondary
#AA893B
accent
#B83CEC
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #153174

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

Preview Lab → · Contrast checker → · Palette generator →

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