#15339F#15339F

#15339F is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.2% C 0.177 H 265.6°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#15339F
RGBrgb(21, 51, 159)
HSLhsl(227, 77%, 35%)
HSVhsv(227, 87%, 62%)
CMYKcmyk(86.8%, 67.9%, 0%, 37.6%)
CIE-LABlab(26.82, 32.24, -61.00)
CIE-LCHlch(26.82, 69.00, 297.86°)
OKLaboklab(38.17% -0.0135 -0.1768)
OKLCHoklch(38.17% 0.177 265.6)
XYZxyz(7.7489, 5.0293, 33.3565)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15339F #9F8115
analogous
#15789F #15339F #3C159F
triadic
#15339F #9F1533 #339F15
tetradic
#15339F #9F1578 #9F8115 #159F3C
square
#15339F #9F1578 #9F8115 #159F3C
split-complementary
#15339F #9F3C15 #789F15
monochromatic
#071033 #0E2269 #15339F #1C44D5 #486AE7

Accessibility & contrast

On white

10.47
#15339F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#15339F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15339F
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15339F#FFFFFF#000000##FFFFFF
##15339F1.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A2
Deuteranopia (green-blind)
#00399D
Tritanopia (blue-blind)
#005164
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #15339f;
/* rgb */ color: rgb(21, 51, 159);
/* oklch */ color: oklch(38.2% 0.177 265.6);
Tailwind
colors: {
  custom: {
    50: '#6f6abc',
    500: '#15339f',
    950: '#000000',
  },
}
SCSS
$custom: #15339f;
$custom-light: #6f6abc;
$custom-dark: #000000;
JSON
{
  "hex": "#15339f",
  "rgb": {
    "r": 21,
    "g": 51,
    "b": 159
  },
  "hsl": {
    "h": 226.957,
    "s": 76.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.3817,
    "c": 0.17733,
    "h": 265.6
  },
  "luminance": 0.0503
}

Semantic roles & 50–950 ramp

primary
#15339F
secondary
#C8AC48
accent
#CA35F3
background
#F7F6FB
surface
#EDEBF7
border
#C8C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #15339F

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

Preview Lab → · Contrast checker → · Palette generator →

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