#15277C#15277C

#15277C is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.3% C 0.145 H 267.6°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#15277C
RGBrgb(21, 39, 124)
HSLhsl(230, 71%, 28%)
HSVhsv(230, 83%, 49%)
CMYKcmyk(83.1%, 68.5%, 0%, 51.4%)
CIE-LABlab(20.30, 26.67, -49.97)
CIE-LCHlch(20.30, 56.64, 298.09°)
OKLaboklab(32.35% -0.0061 -0.1447)
OKLCHoklch(32.35% 0.145 267.6)
XYZxyz(4.6716, 3.0652, 19.4103)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15277C #7C6A15
analogous
#155A7C #15277C #37157C
triadic
#15277C #7C1527 #277C15
tetradic
#15277C #7C155A #7C6A15 #157C37
square
#15277C #7C155A #7C6A15 #157C37
split-complementary
#15277C #7C3715 #5A7C15
monochromatic
#04081A #0C1748 #15277C #1E37B0 #304EDC

Accessibility & contrast

On white

13.02
#15277C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #15277C
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15277C#FFFFFF#000000##FFFFFF
##15277C1.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367F
Deuteranopia (green-blind)
#002C7A
Tritanopia (blue-blind)
#003E4E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #15277c;
/* rgb */ color: rgb(21, 39, 124);
/* oklch */ color: oklch(32.3% 0.145 267.6);
Tailwind
colors: {
  custom: {
    50: '#6661a3',
    500: '#15277c',
    950: '#000000',
  },
}
SCSS
$custom: #15277c;
$custom-light: #6661a3;
$custom-dark: #000000;
JSON
{
  "hex": "#15277c",
  "rgb": {
    "r": 21,
    "g": 39,
    "b": 124
  },
  "hsl": {
    "h": 229.515,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.32347,
    "c": 0.14483,
    "h": 267.6
  },
  "luminance": 0.03066
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #15277C

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

Preview Lab → · Contrast checker → · Palette generator →

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