#215297#215297

#215297 is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.4% C 0.125 H 257.7°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#215297
RGBrgb(33, 82, 151)
HSLhsl(215, 64%, 36%)
HSVhsv(215, 78%, 59%)
CMYKcmyk(78.1%, 45.7%, 0%, 40.8%)
CIE-LABlab(35.19, 9.18, -42.53)
CIE-LCHlch(35.19, 43.51, 282.18°)
OKLaboklab(44.39% -0.0266 -0.1219)
OKLCHoklch(44.39% 0.125 257.7)
XYZxyz(9.2284, 8.5912, 30.4441)
Luminance0.0859 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#215297 #976621
analogous
#218D97 #215297 #2B2197
triadic
#215297 #972152 #529721
tetradic
#215297 #97218D #976621 #21972B
square
#215297 #97218D #976621 #21972B
split-complementary
#215297 #972B21 #8D9721
monochromatic
#0B1B33 #163765 #215297 #2C6DC9 #588EDA

Accessibility & contrast

On white

7.73
#215297 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#215297 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #215297
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##215297#FFFFFF#000000##FFFFFF
##2152971.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E599A
Deuteranopia (green-blind)
#154E96
Tritanopia (blue-blind)
#00626D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #215297;
/* rgb */ color: rgb(33, 82, 151);
/* oklch */ color: oklch(44.4% 0.125 257.7);
Tailwind
colors: {
  custom: {
    50: '#6e82b6',
    500: '#215297',
    950: '#000000',
  },
}
SCSS
$custom: #215297;
$custom-light: #6e82b6;
$custom-dark: #000000;
JSON
{
  "hex": "#215297",
  "rgb": {
    "r": 33,
    "g": 82,
    "b": 151
  },
  "hsl": {
    "h": 215.085,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.44392,
    "c": 0.12479,
    "h": 257.7
  },
  "luminance": 0.08592
}

Semantic roles & 50–950 ramp

primary
#215297
secondary
#BE9355
accent
#A241E7
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #215297

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

Preview Lab → · Contrast checker → · Palette generator →

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