#15335F#15335F

#15335F is a dark, moderate blue. Relative luminance 0.034; OKLCH L 32.4% C 0.086 H 258.1°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#15335F
RGBrgb(21, 51, 95)
HSLhsl(216, 64%, 23%)
HSVhsv(216, 78%, 37%)
CMYKcmyk(77.9%, 46.3%, 0%, 62.7%)
CIE-LABlab(21.41, 6.03, -29.45)
CIE-LCHlch(21.41, 30.06, 281.57°)
OKLaboklab(32.42% -0.0177 -0.0842)
OKLCHoklch(32.42% 0.086 258.1)
XYZxyz(3.5579, 3.3529, 11.2839)
Luminance0.0335 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15335F #5F4115
analogous
#15585F #15335F #1C155F
triadic
#15335F #5F1533 #335F15
tetradic
#15335F #5F1558 #5F4115 #155F1C
square
#15335F #5F1558 #5F4115 #155F1C
split-complementary
#15335F #5F1C15 #585F15
monochromatic
#060D19 #0A182D #15335F #204E91 #2B69C3

Accessibility & contrast

On white

12.57
#15335F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#15335F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15335F
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15335F#FFFFFF#000000##FFFFFF
##15335F1.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3761
Deuteranopia (green-blind)
#10305E
Tritanopia (blue-blind)
#003D44
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #15335f;
/* rgb */ color: rgb(21, 51, 95);
/* oklch */ color: oklch(32.4% 0.086 258.1);
Tailwind
colors: {
  custom: {
    50: '#5e6a8d',
    500: '#15335f',
    950: '#000000',
  },
}
SCSS
$custom: #15335f;
$custom-light: #5e6a8d;
$custom-dark: #000000;
JSON
{
  "hex": "#15335f",
  "rgb": {
    "r": 21,
    "g": 51,
    "b": 95
  },
  "hsl": {
    "h": 215.676,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.3242,
    "c": 0.08609,
    "h": 258.1
  },
  "luminance": 0.03353
}

Semantic roles & 50–950 ramp

primary
#15335F
secondary
#96713A
accent
#A441E7
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #15335F

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

Preview Lab → · Contrast checker → · Palette generator →

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