#15277B#15277B

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

Color values

HEX#15277B
RGBrgb(21, 39, 123)
HSLhsl(229, 71%, 28%)
HSVhsv(229, 83%, 48%)
CMYKcmyk(82.9%, 68.3%, 0%, 51.8%)
CIE-LABlab(20.20, 26.28, -49.50)
CIE-LCHlch(20.20, 56.04, 297.96°)
OKLaboklab(32.24% -0.0061 -0.1433)
OKLCHoklch(32.24% 0.143 267.6)
XYZxyz(4.6087, 3.0400, 19.0789)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15277B #7B6915
analogous
#155A7B #15277B #36157B
triadic
#15277B #7B1527 #277B15
tetradic
#15277B #7B155A #7B6915 #157B36
square
#15277B #7B155A #7B6915 #157B36
split-complementary
#15277B #7B3615 #5A7B15
monochromatic
#04081A #0C1647 #15277B #1E38AF #2F4DDB

Accessibility & contrast

On white

13.06
#15277B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#15277B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15277B
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15277B#FFFFFF#000000##FFFFFF
##15277B1.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367E
Deuteranopia (green-blind)
#002C79
Tritanopia (blue-blind)
#003E4D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #15277b;
/* rgb */ color: rgb(21, 39, 123);
/* oklch */ color: oklch(32.2% 0.143 267.6);
Tailwind
colors: {
  custom: {
    50: '#6661a2',
    500: '#15277b',
    950: '#000000',
  },
}
SCSS
$custom: #15277b;
$custom-light: #6661a2;
$custom-dark: #000000;
JSON
{
  "hex": "#15277b",
  "rgb": {
    "r": 21,
    "g": 39,
    "b": 123
  },
  "hsl": {
    "h": 229.412,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.32244,
    "c": 0.14345,
    "h": 267.6
  },
  "luminance": 0.03041
}

Semantic roles & 50–950 ramp

primary
#15277B
secondary
#B09C3B
accent
#CE3AEE
background
#F6F5FA
surface
#EBE9F4
border
#C6C5CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #15277B

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

Preview Lab → · Contrast checker → · Palette generator →

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