#15479E#15479E

#15479E is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.1% C 0.151 H 260.8°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#15479E
RGBrgb(21, 71, 158)
HSLhsl(218, 77%, 35%)
HSVhsv(218, 87%, 62%)
CMYKcmyk(86.7%, 55.1%, 0%, 38%)
CIE-LABlab(32.11, 18.25, -51.75)
CIE-LCHlch(32.11, 54.87, 289.42°)
OKLaboklab(42.09% -0.0242 -0.1494)
OKLCHoklch(42.09% 0.151 260.8)
XYZxyz(8.7318, 7.1334, 33.2578)
Luminance0.0713 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15479E #9E6C15
analogous
#158C9E #15479E #27159E
triadic
#15479E #9E1547 #479E15
tetradic
#15479E #9E158C #9E6C15 #159E27
square
#15479E #9E158C #9E6C15 #159E27
split-complementary
#15479E #9E2715 #8C9E15
monochromatic
#071632 #0E2F68 #15479E #1C5FD4 #4781E7

Accessibility & contrast

On white

8.65
#15479E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#15479E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15479E
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15479E#FFFFFF#000000##FFFFFF
##15479E1.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A1
Deuteranopia (green-blind)
#00469C
Tritanopia (blue-blind)
#005D6B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #15479e;
/* rgb */ color: rgb(21, 71, 158);
/* oklch */ color: oklch(42.1% 0.151 260.8);
Tailwind
colors: {
  custom: {
    50: '#6d79bb',
    500: '#15479e',
    950: '#000000',
  },
}
SCSS
$custom: #15479e;
$custom-light: #6d79bb;
$custom-dark: #000000;
JSON
{
  "hex": "#15479e",
  "rgb": {
    "r": 21,
    "g": 71,
    "b": 158
  },
  "hsl": {
    "h": 218.102,
    "s": 76.536,
    "l": 35.098
  },
  "oklch": {
    "l": 0.42093,
    "c": 0.15136,
    "h": 260.8
  },
  "luminance": 0.07135
}

Semantic roles & 50–950 ramp

primary
#15479E
secondary
#C79947
accent
#AE35F3
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080912
muted
#7B7B81

Preview Lab

Preview with #15479E

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

Preview Lab → · Contrast checker → · Palette generator →

#15479E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva