#15277A#15277A

#15277A is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.1% C 0.142 H 267.6°. Best body text is #FFFFFF at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#15277A
RGBrgb(21, 39, 122)
HSLhsl(229, 71%, 28%)
HSVhsv(229, 83%, 48%)
CMYKcmyk(82.8%, 68%, 0%, 52.2%)
CIE-LABlab(20.10, 25.88, -49.02)
CIE-LCHlch(20.10, 55.43, 297.83°)
OKLaboklab(32.14% -0.006 -0.1419)
OKLCHoklch(32.14% 0.142 267.6)
XYZxyz(4.5464, 3.0151, 18.7509)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15277A #7A6815
analogous
#15597A #15277A #35157A
triadic
#15277A #7A1527 #277A15
tetradic
#15277A #7A1559 #7A6815 #157A35
square
#15277A #7A1559 #7A6815 #157A35
split-complementary
#15277A #7A3515 #597A15
monochromatic
#04081A #0C1646 #15277A #1E38AE #2E4DDB

Accessibility & contrast

On white

13.10
#15277A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#15277A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15277A
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15277A#FFFFFF#000000##FFFFFF
##15277A1.0013.101.6013.10
#FFFFFF13.101.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357D
Deuteranopia (green-blind)
#002C78
Tritanopia (blue-blind)
#003D4C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #15277a;
/* rgb */ color: rgb(21, 39, 122);
/* oklch */ color: oklch(32.1% 0.142 267.6);
Tailwind
colors: {
  custom: {
    50: '#6661a1',
    500: '#15277a',
    950: '#000000',
  },
}
SCSS
$custom: #15277a;
$custom-light: #6661a1;
$custom-dark: #000000;
JSON
{
  "hex": "#15277a",
  "rgb": {
    "r": 21,
    "g": 39,
    "b": 122
  },
  "hsl": {
    "h": 229.307,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.32141,
    "c": 0.14206,
    "h": 267.6
  },
  "luminance": 0.03016
}

Semantic roles & 50–950 ramp

primary
#15277A
secondary
#AF9B3B
accent
#CD3AED
background
#F6F5FA
surface
#EBE9F3
border
#C6C5CD
text
#07050F
muted
#7A797F

Preview Lab

Preview with #15277A

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

Preview Lab → · Contrast checker → · Palette generator →

#15277A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva