#211898#211898

#211898 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.9% C 0.192 H 272.4°. Best body text is #FFFFFF at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#211898
RGBrgb(33, 24, 152)
HSLhsl(244, 73%, 35%)
HSVhsv(244, 84%, 60%)
CMYKcmyk(78.3%, 84.2%, 0%, 40.4%)
CIE-LABlab(20.99, 46.27, -66.33)
CIE-LCHlch(20.99, 80.87, 304.90°)
OKLaboklab(33.94% 0.0081 -0.1919)
OKLCHoklch(33.94% 0.192 272.4)
XYZxyz(6.6194, 3.2429, 29.9768)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211898 #8F9818
analogous
#184F98 #211898 #611898
triadic
#211898 #982118 #189821
tetradic
#211898 #98184F #8F9818 #189861
square
#211898 #98184F #8F9818 #189861
split-complementary
#211898 #986118 #4F9818
monochromatic
#0A072E #161063 #211898 #2C20CD #5348E2

Accessibility & contrast

On white

12.74
#211898 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#211898 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211898
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211898#FFFFFF#000000##FFFFFF
##2118981.0012.741.6512.74
#FFFFFF12.741.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00389B
Deuteranopia (green-blind)
#002C96
Tritanopia (blue-blind)
#00415A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #211898;
/* rgb */ color: rgb(33, 24, 152);
/* oklch */ color: oklch(33.9% 0.192 272.4);
Tailwind
colors: {
  custom: {
    50: '#7359b8',
    500: '#211898',
    950: '#000000',
  },
}
SCSS
$custom: #211898;
$custom-light: #7359b8;
$custom-dark: #000000;
JSON
{
  "hex": "#211898",
  "rgb": {
    "r": 33,
    "g": 24,
    "b": 152
  },
  "hsl": {
    "h": 244.219,
    "s": 72.727,
    "l": 34.51
  },
  "oklch": {
    "l": 0.33938,
    "c": 0.19206,
    "h": 272.4
  },
  "luminance": 0.03244
}

Semantic roles & 50–950 ramp

primary
#211898
secondary
#BBC448
accent
#EF38E3
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #211898

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

Preview Lab → · Contrast checker → · Palette generator →

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