#15349F#15349F

#15349F is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.4% C 0.176 H 265.5°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#15349F
RGBrgb(21, 52, 159)
HSLhsl(227, 77%, 35%)
HSVhsv(227, 87%, 62%)
CMYKcmyk(86.8%, 67.3%, 0%, 37.6%)
CIE-LABlab(27.07, 31.58, -60.59)
CIE-LCHlch(27.07, 68.33, 297.53°)
OKLaboklab(38.35% -0.0139 -0.1756)
OKLCHoklch(38.35% 0.176 265.5)
XYZxyz(7.7931, 5.1176, 33.3712)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15349F #9F8015
analogous
#15799F #15349F #3B159F
triadic
#15349F #9F1534 #349F15
tetradic
#15349F #9F1579 #9F8015 #159F3B
square
#15349F #9F1579 #9F8015 #159F3B
split-complementary
#15349F #9F3B15 #799F15
monochromatic
#071133 #0E2269 #15349F #1C46D5 #486BE7

Accessibility & contrast

On white

10.38
#15349F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#15349F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15349F
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15349F#FFFFFF#000000##FFFFFF
##15349F1.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A2
Deuteranopia (green-blind)
#003A9D
Tritanopia (blue-blind)
#005165
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #15349f;
/* rgb */ color: rgb(21, 52, 159);
/* oklch */ color: oklch(38.4% 0.176 265.5);
Tailwind
colors: {
  custom: {
    50: '#6f6bbc',
    500: '#15349f',
    950: '#000000',
  },
}
SCSS
$custom: #15349f;
$custom-light: #6f6bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#15349f",
  "rgb": {
    "r": 21,
    "g": 52,
    "b": 159
  },
  "hsl": {
    "h": 226.522,
    "s": 76.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.38353,
    "c": 0.17617,
    "h": 265.5
  },
  "luminance": 0.05119
}

Semantic roles & 50–950 ramp

primary
#15349F
secondary
#C8AB48
accent
#C835F3
background
#F7F6FB
surface
#EDEBF7
border
#C8C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #15349F

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

Preview Lab → · Contrast checker → · Palette generator →

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