#211762#211762

#211762 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.5% C 0.125 H 280.4°. Best body text is #FFFFFF at 15.40:1 contrast (WCAG AA passes).

Color values

HEX#211762
RGBrgb(33, 23, 98)
HSLhsl(248, 62%, 24%)
HSVhsv(248, 77%, 38%)
CMYKcmyk(66.3%, 76.5%, 0%, 61.6%)
CIE-LABlab(14.50, 28.93, -42.60)
CIE-LCHlch(14.50, 51.49, 304.18°)
OKLaboklab(27.55% 0.0225 -0.1229)
OKLCHoklch(27.55% 0.125 280.4)
XYZxyz(3.1375, 1.8177, 11.7384)
Luminance0.0182 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211762 #586217
analogous
#173262 #211762 #461762
triadic
#211762 #622117 #176221
tetradic
#211762 #621732 #586217 #176246
square
#211762 #621732 #586217 #176246
split-complementary
#211762 #624617 #326217
monochromatic
#080619 #100B30 #211762 #322394 #422EC5

Accessibility & contrast

On white

15.40
#211762 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#211762 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211762
15.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211762#FFFFFF#000000##FFFFFF
##2117621.0015.401.3615.40
#FFFFFF15.401.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002764
Deuteranopia (green-blind)
#002261
Tritanopia (blue-blind)
#002C3B
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #211762;
/* rgb */ color: rgb(33, 23, 98);
/* oklch */ color: oklch(27.5% 0.125 280.4);
Tailwind
colors: {
  custom: {
    50: '#66558f',
    500: '#211762',
    950: '#000000',
  },
}
SCSS
$custom: #211762;
$custom-light: #66558f;
$custom-dark: #000000;
JSON
{
  "hex": "#211762",
  "rgb": {
    "r": 33,
    "g": 23,
    "b": 98
  },
  "hsl": {
    "h": 248,
    "s": 61.983,
    "l": 23.725
  },
  "oklch": {
    "l": 0.27546,
    "c": 0.12493,
    "h": 280.4
  },
  "luminance": 0.01818
}

Semantic roles & 50–950 ramp

primary
#211762
secondary
#8C993C
accent
#E543CF
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #211762

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

Preview Lab → · Contrast checker → · Palette generator →

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