#215198#215198

#215198 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.2% C 0.127 H 258.4°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#215198
RGBrgb(33, 81, 152)
HSLhsl(216, 64%, 36%)
HSVhsv(216, 78%, 60%)
CMYKcmyk(78.3%, 46.7%, 0%, 40.4%)
CIE-LABlab(34.95, 10.25, -43.51)
CIE-LCHlch(34.95, 44.70, 283.25°)
OKLaboklab(44.23% -0.0256 -0.1248)
OKLCHoklch(44.23% 0.127 258.4)
XYZxyz(9.2351, 8.4741, 30.8486)
Luminance0.0848 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#215198 #986821
analogous
#218D98 #215198 #2D2198
triadic
#215198 #982151 #519821
tetradic
#215198 #98218D #986821 #21982D
square
#215198 #98218D #986821 #21982D
split-complementary
#215198 #982D21 #8D9821
monochromatic
#0B1B33 #163666 #215198 #2C6CCA #598DDB

Accessibility & contrast

On white

7.79
#215198 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#215198 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #215198
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##215198#FFFFFF#000000##FFFFFF
##2151981.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B589B
Deuteranopia (green-blind)
#0F4D97
Tritanopia (blue-blind)
#00626D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #215198;
/* rgb */ color: rgb(33, 81, 152);
/* oklch */ color: oklch(44.2% 0.127 258.4);
Tailwind
colors: {
  custom: {
    50: '#6f81b7',
    500: '#215198',
    950: '#000000',
  },
}
SCSS
$custom: #215198;
$custom-light: #6f81b7;
$custom-dark: #000000;
JSON
{
  "hex": "#215198",
  "rgb": {
    "r": 33,
    "g": 81,
    "b": 152
  },
  "hsl": {
    "h": 215.798,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44232,
    "c": 0.1274,
    "h": 258.4
  },
  "luminance": 0.08475
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #215198

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

Preview Lab → · Contrast checker → · Palette generator →

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