#153277#153277

#153277 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.1% C 0.123 H 263.8°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#153277
RGBrgb(21, 50, 119)
HSLhsl(222, 70%, 27%)
HSVhsv(222, 82%, 47%)
CMYKcmyk(82.4%, 58%, 0%, 53.3%)
CIE-LABlab(22.90, 16.85, -42.54)
CIE-LCHlch(22.90, 45.76, 291.61°)
OKLaboklab(34.14% -0.0133 -0.1228)
OKLCHoklch(34.14% 0.123 263.8)
XYZxyz(4.7784, 3.7720, 17.9254)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#153277 #775A15
analogous
#156377 #153277 #291577
triadic
#153277 #771532 #327715
tetradic
#153277 #771563 #775A15 #157729
square
#153277 #771563 #775A15 #157729
split-complementary
#153277 #772915 #637715
monochromatic
#050B1A #0C1C43 #153277 #1E48AB #2D60DA

Accessibility & contrast

On white

11.97
#153277 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#153277 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #153277
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##153277#FFFFFF#000000##FFFFFF
##1532771.0011.971.7511.97
#FFFFFF11.971.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #153277;
/* rgb */ color: rgb(21, 50, 119);
/* oklch */ color: oklch(34.1% 0.123 263.8);
Tailwind
colors: {
  custom: {
    50: '#64699f',
    500: '#153277',
    950: '#000000',
  },
}
SCSS
$custom: #153277;
$custom-light: #64699f;
$custom-dark: #000000;
JSON
{
  "hex": "#153277",
  "rgb": {
    "r": 21,
    "g": 50,
    "b": 119
  },
  "hsl": {
    "h": 222.245,
    "s": 70,
    "l": 27.451
  },
  "oklch": {
    "l": 0.3414,
    "c": 0.12349,
    "h": 263.8
  },
  "luminance": 0.03773
}

Semantic roles & 50–950 ramp

primary
#153277
secondary
#AD8B3B
accent
#B83BED
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #153277

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

Preview Lab → · Contrast checker → · Palette generator →

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