#215197#215197

#215197 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.2% C 0.126 H 258.2°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#215197
RGBrgb(33, 81, 151)
HSLhsl(216, 64%, 36%)
HSVhsv(216, 78%, 59%)
CMYKcmyk(78.1%, 46.4%, 0%, 40.8%)
CIE-LABlab(34.89, 9.85, -43.01)
CIE-LCHlch(34.89, 44.12, 282.90°)
OKLaboklab(44.16% -0.0258 -0.1233)
OKLCHoklch(44.16% 0.126 258.2)
XYZxyz(9.1535, 8.4415, 30.4191)
Luminance0.0844 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#215197 #976721
analogous
#218C97 #215197 #2C2197
triadic
#215197 #972151 #519721
tetradic
#215197 #97218C #976721 #21972C
square
#215197 #97218C #976721 #21972C
split-complementary
#215197 #972C21 #8C9721
monochromatic
#0B1B33 #163665 #215197 #2C6CC9 #588DDA

Accessibility & contrast

On white

7.81
#215197 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#215197 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #215197
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##215197#FFFFFF#000000##FFFFFF
##2151971.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C589A
Deuteranopia (green-blind)
#124D96
Tritanopia (blue-blind)
#00626C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #215197;
/* rgb */ color: rgb(33, 81, 151);
/* oklch */ color: oklch(44.2% 0.126 258.2);
Tailwind
colors: {
  custom: {
    50: '#6e81b6',
    500: '#215197',
    950: '#000000',
  },
}
SCSS
$custom: #215197;
$custom-light: #6e81b6;
$custom-dark: #000000;
JSON
{
  "hex": "#215197",
  "rgb": {
    "r": 33,
    "g": 81,
    "b": 151
  },
  "hsl": {
    "h": 215.593,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.44161,
    "c": 0.126,
    "h": 258.2
  },
  "luminance": 0.08443
}

Semantic roles & 50–950 ramp

primary
#215197
secondary
#BE9455
accent
#A341E7
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #215197

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

Preview Lab → · Contrast checker → · Palette generator →

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