#15319F#15319F

#15319F is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.8% C 0.180 H 265.9°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#15319F
RGBrgb(21, 49, 159)
HSLhsl(228, 77%, 35%)
HSVhsv(228, 87%, 62%)
CMYKcmyk(86.8%, 69.2%, 0%, 37.6%)
CIE-LABlab(26.33, 33.56, -61.81)
CIE-LCHlch(26.33, 70.33, 298.50°)
OKLaboklab(37.81% -0.0127 -0.1792)
OKLCHoklch(37.81% 0.18 265.9)
XYZxyz(7.6634, 4.8583, 33.3280)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15319F #9F8315
analogous
#15769F #15319F #3E159F
triadic
#15319F #9F1531 #319F15
tetradic
#15319F #9F1576 #9F8315 #159F3E
square
#15319F #9F1576 #9F8315 #159F3E
split-complementary
#15319F #9F3E15 #769F15
monochromatic
#071033 #0E2069 #15319F #1C42D5 #4868E7

Accessibility & contrast

On white

10.65
#15319F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#15319F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15319F
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15319F#FFFFFF#000000##FFFFFF
##15319F1.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A2
Deuteranopia (green-blind)
#00389D
Tritanopia (blue-blind)
#004F64
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #15319f;
/* rgb */ color: rgb(21, 49, 159);
/* oklch */ color: oklch(37.8% 0.180 265.9);
Tailwind
colors: {
  custom: {
    50: '#6f69bc',
    500: '#15319f',
    950: '#000000',
  },
}
SCSS
$custom: #15319f;
$custom-light: #6f69bc;
$custom-dark: #000000;
JSON
{
  "hex": "#15319f",
  "rgb": {
    "r": 21,
    "g": 49,
    "b": 159
  },
  "hsl": {
    "h": 227.826,
    "s": 76.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.37812,
    "c": 0.17964,
    "h": 265.9
  },
  "luminance": 0.04859
}

Semantic roles & 50–950 ramp

primary
#15319F
secondary
#C8AE48
accent
#CD35F3
background
#F7F6FB
surface
#EDEBF7
border
#C8C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #15319F

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

Preview Lab → · Contrast checker → · Palette generator →

#15319F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva