#15206F#15206F

#15206F is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.7% C 0.135 H 269.4°. Best body text is #FFFFFF at 14.31:1 contrast (WCAG AA passes).

Color values

HEX#15206F
RGBrgb(21, 32, 111)
HSLhsl(233, 68%, 26%)
HSVhsv(233, 81%, 44%)
CMYKcmyk(81.1%, 71.2%, 0%, 56.5%)
CIE-LABlab(17.18, 26.36, -46.76)
CIE-LCHlch(17.18, 53.68, 299.41°)
OKLaboklab(29.67% -0.0013 -0.1354)
OKLCHoklch(29.67% 0.135 269.4)
XYZxyz(3.6940, 2.3397, 15.2928)
Luminance0.0234 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15206F #6F6415
analogous
#154D6F #15206F #37156F
triadic
#15206F #6F1520 #206F15
tetradic
#15206F #6F154D #6F6415 #156F37
square
#15206F #6F154D #6F6415 #156F37
split-complementary
#15206F #6F3715 #4D6F15
monochromatic
#05071A #0B113C #15206F #1F2FA2 #283ED6

Accessibility & contrast

On white

14.31
#15206F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#15206F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15206F
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15206F#FFFFFF#000000##FFFFFF
##15206F1.0014.311.4714.31
#FFFFFF14.311.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F71
Deuteranopia (green-blind)
#00266E
Tritanopia (blue-blind)
#003644
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #15206f;
/* rgb */ color: rgb(21, 32, 111);
/* oklch */ color: oklch(29.7% 0.135 269.4);
Tailwind
colors: {
  custom: {
    50: '#635b99',
    500: '#15206f',
    950: '#000000',
  },
}
SCSS
$custom: #15206f;
$custom-light: #635b99;
$custom-dark: #000000;
JSON
{
  "hex": "#15206f",
  "rgb": {
    "r": 21,
    "g": 32,
    "b": 111
  },
  "hsl": {
    "h": 232.667,
    "s": 68.182,
    "l": 25.882
  },
  "oklch": {
    "l": 0.29665,
    "c": 0.13537,
    "h": 269.4
  },
  "luminance": 0.0234
}

Semantic roles & 50–950 ramp

primary
#15206F
secondary
#A5983A
accent
#D63DEB
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #15206F

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

Preview Lab → · Contrast checker → · Palette generator →

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