#15335D#15335D

#15335D is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.3% C 0.083 H 257.4°. Best body text is #FFFFFF at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#15335D
RGBrgb(21, 51, 93)
HSLhsl(215, 63%, 22%)
HSVhsv(215, 77%, 36%)
CMYKcmyk(77.4%, 45.2%, 0%, 63.5%)
CIE-LABlab(21.27, 5.19, -28.35)
CIE-LCHlch(21.27, 28.82, 280.37°)
OKLaboklab(32.27% -0.0182 -0.081)
OKLCHoklch(32.27% 0.083 257.4)
XYZxyz(3.4681, 3.3170, 10.8113)
Luminance0.0332 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15335D #5D3F15
analogous
#15575D #15335D #1B155D
triadic
#15335D #5D1533 #335D15
tetradic
#15335D #5D1557 #5D3F15 #155D1B
square
#15335D #5D1557 #5D3F15 #155D1B
split-complementary
#15335D #5D1B15 #575D15
monochromatic
#060E19 #0A182B #15335D #204E8F #2C6AC1

Accessibility & contrast

On white

12.62
#15335D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#15335D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15335D
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15335D#FFFFFF#000000##FFFFFF
##15335D1.0012.621.6612.62
#FFFFFF12.621.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F375F
Deuteranopia (green-blind)
#13305C
Tritanopia (blue-blind)
#003D43
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #15335d;
/* rgb */ color: rgb(21, 51, 93);
/* oklch */ color: oklch(32.3% 0.083 257.4);
Tailwind
colors: {
  custom: {
    50: '#5d6a8b',
    500: '#15335d',
    950: '#000000',
  },
}
SCSS
$custom: #15335d;
$custom-light: #5d6a8b;
$custom-dark: #000000;
JSON
{
  "hex": "#15335d",
  "rgb": {
    "r": 21,
    "g": 51,
    "b": 93
  },
  "hsl": {
    "h": 215,
    "s": 63.158,
    "l": 22.353
  },
  "oklch": {
    "l": 0.32273,
    "c": 0.08302,
    "h": 257.4
  },
  "luminance": 0.03317
}

Semantic roles & 50–950 ramp

primary
#15335D
secondary
#946E39
accent
#A242E6
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #15335D

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

Preview Lab → · Contrast checker → · Palette generator →

#15335D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva