#215299#215299

#215299 is a dark, vivid blue. Relative luminance 0.087; OKLCH L 44.5% C 0.128 H 258.1°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#215299
RGBrgb(33, 82, 153)
HSLhsl(216, 65%, 36%)
HSVhsv(216, 78%, 60%)
CMYKcmyk(78.4%, 46.4%, 0%, 40%)
CIE-LABlab(35.31, 9.98, -43.53)
CIE-LCHlch(35.31, 44.66, 282.91°)
OKLaboklab(44.53% -0.0262 -0.1248)
OKLCHoklch(44.53% 0.128 258.1)
XYZxyz(9.3922, 8.6567, 31.3067)
Luminance0.0866 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#215299 #996821
analogous
#218E99 #215299 #2C2199
triadic
#215299 #992152 #529921
tetradic
#215299 #99218E #996821 #21992C
square
#215299 #99218E #996821 #21992C
split-complementary
#215299 #992C21 #8E9921
monochromatic
#0B1C34 #163767 #215299 #2C6DCB #598EDB

Accessibility & contrast

On white

7.69
#215299 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#215299 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #215299
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##215299#FFFFFF#000000##FFFFFF
##2152991.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D599C
Deuteranopia (green-blind)
#114E98
Tritanopia (blue-blind)
#00636E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #215299;
/* rgb */ color: rgb(33, 82, 153);
/* oklch */ color: oklch(44.5% 0.128 258.1);
Tailwind
colors: {
  custom: {
    50: '#6f82b7',
    500: '#215299',
    950: '#000000',
  },
}
SCSS
$custom: #215299;
$custom-light: #6f82b7;
$custom-dark: #000000;
JSON
{
  "hex": "#215299",
  "rgb": {
    "r": 33,
    "g": 82,
    "b": 153
  },
  "hsl": {
    "h": 215.5,
    "s": 64.516,
    "l": 36.471
  },
  "oklch": {
    "l": 0.44534,
    "c": 0.12758,
    "h": 258.1
  },
  "luminance": 0.08658
}

Semantic roles & 50–950 ramp

primary
#215299
secondary
#BF9556
accent
#A340E8
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #215299

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

Preview Lab → · Contrast checker → · Palette generator →

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