#215098#215098

#215098 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.0% C 0.129 H 258.9°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#215098
RGBrgb(33, 80, 152)
HSLhsl(216, 64%, 36%)
HSVhsv(216, 78%, 60%)
CMYKcmyk(78.3%, 47.4%, 0%, 40.4%)
CIE-LABlab(34.65, 10.91, -43.99)
CIE-LCHlch(34.65, 45.32, 283.93°)
OKLaboklab(44% -0.0247 -0.1262)
OKLCHoklch(44% 0.129 258.9)
XYZxyz(9.1613, 8.3266, 30.8240)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#215098 #986921
analogous
#218C98 #215098 #2E2198
triadic
#215098 #982150 #509821
tetradic
#215098 #98218C #986921 #21982E
square
#215098 #98218C #986921 #21982E
split-complementary
#215098 #982E21 #8C9821
monochromatic
#0B1B33 #163666 #215098 #2C6ACA #598CDB

Accessibility & contrast

On white

7.88
#215098 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#215098 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #215098
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##215098#FFFFFF#000000##FFFFFF
##2150981.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29579B
Deuteranopia (green-blind)
#0A4C97
Tritanopia (blue-blind)
#00616C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #215098;
/* rgb */ color: rgb(33, 80, 152);
/* oklch */ color: oklch(44.0% 0.129 258.9);
Tailwind
colors: {
  custom: {
    50: '#6f80b7',
    500: '#215098',
    950: '#000000',
  },
}
SCSS
$custom: #215098;
$custom-light: #6f80b7;
$custom-dark: #000000;
JSON
{
  "hex": "#215098",
  "rgb": {
    "r": 33,
    "g": 80,
    "b": 152
  },
  "hsl": {
    "h": 216.303,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44003,
    "c": 0.12864,
    "h": 258.9
  },
  "luminance": 0.08328
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #215098

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

Preview Lab → · Contrast checker → · Palette generator →

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