#15309F#15309F

#15309F is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.6% C 0.181 H 266.1°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#15309F
RGBrgb(21, 48, 159)
HSLhsl(228, 77%, 35%)
HSVhsv(228, 87%, 62%)
CMYKcmyk(86.8%, 69.8%, 0%, 37.6%)
CIE-LABlab(26.09, 34.21, -62.21)
CIE-LCHlch(26.09, 70.99, 298.81°)
OKLaboklab(37.64% -0.0123 -0.1803)
OKLCHoklch(37.64% 0.181 266.1)
XYZxyz(7.6220, 4.7756, 33.3142)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15309F #9F8415
analogous
#15759F #15309F #3F159F
triadic
#15309F #9F1530 #309F15
tetradic
#15309F #9F1575 #9F8415 #159F3F
square
#15309F #9F1575 #9F8415 #159F3F
split-complementary
#15309F #9F3F15 #759F15
monochromatic
#070F33 #0E2069 #15309F #1C40D5 #4867E7

Accessibility & contrast

On white

10.74
#15309F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#15309F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15309F
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15309F#FFFFFF#000000##FFFFFF
##15309F1.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A2
Deuteranopia (green-blind)
#00379D
Tritanopia (blue-blind)
#004F63
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #15309f;
/* rgb */ color: rgb(21, 48, 159);
/* oklch */ color: oklch(37.6% 0.181 266.1);
Tailwind
colors: {
  custom: {
    50: '#7068bc',
    500: '#15309f',
    950: '#000000',
  },
}
SCSS
$custom: #15309f;
$custom-light: #7068bc;
$custom-dark: #000000;
JSON
{
  "hex": "#15309f",
  "rgb": {
    "r": 21,
    "g": 48,
    "b": 159
  },
  "hsl": {
    "h": 228.261,
    "s": 76.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.37636,
    "c": 0.18077,
    "h": 266.1
  },
  "luminance": 0.04777
}

Semantic roles & 50–950 ramp

primary
#15309F
secondary
#C8AF48
accent
#CE35F3
background
#F7F6FB
surface
#EDEBF7
border
#C8C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #15309F

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

Preview Lab → · Contrast checker → · Palette generator →

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