#215399#215399

#215399 is a dark, vivid blue. Relative luminance 0.088; OKLCH L 44.8% C 0.126 H 257.6°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#215399
RGBrgb(33, 83, 153)
HSLhsl(215, 65%, 36%)
HSVhsv(215, 78%, 60%)
CMYKcmyk(78.4%, 45.8%, 0%, 40%)
CIE-LABlab(35.61, 9.31, -43.05)
CIE-LCHlch(35.61, 44.05, 282.20°)
OKLaboklab(44.76% -0.0271 -0.1234)
OKLCHoklch(44.76% 0.126 257.6)
XYZxyz(9.4681, 8.8087, 31.3321)
Luminance0.0881 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#215399 #996721
analogous
#218F99 #215399 #2B2199
triadic
#215399 #992153 #539921
tetradic
#215399 #99218F #996721 #21992B
square
#215399 #99218F #996721 #21992B
split-complementary
#215399 #992B21 #8F9921
monochromatic
#0B1C34 #163867 #215399 #2C6ECB #598FDB

Accessibility & contrast

On white

7.60
#215399 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#215399 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #215399
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##215399#FFFFFF#000000##FFFFFF
##2153991.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5A9C
Deuteranopia (green-blind)
#154F98
Tritanopia (blue-blind)
#00646E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #215399;
/* rgb */ color: rgb(33, 83, 153);
/* oklch */ color: oklch(44.8% 0.126 257.6);
Tailwind
colors: {
  custom: {
    50: '#6f82b7',
    500: '#215399',
    950: '#000000',
  },
}
SCSS
$custom: #215399;
$custom-light: #6f82b7;
$custom-dark: #000000;
JSON
{
  "hex": "#215399",
  "rgb": {
    "r": 33,
    "g": 83,
    "b": 153
  },
  "hsl": {
    "h": 215,
    "s": 64.516,
    "l": 36.471
  },
  "oklch": {
    "l": 0.44764,
    "c": 0.12637,
    "h": 257.6
  },
  "luminance": 0.0881
}

Semantic roles & 50–950 ramp

primary
#215399
secondary
#BF9456
accent
#A240E8
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #215399

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

Preview Lab → · Contrast checker → · Palette generator →

#215399 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva