#211980#211980

#211980 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.2% C 0.162 H 275.0°. Best body text is #FFFFFF at 13.86:1 contrast (WCAG AA passes).

Color values

HEX#211980
RGBrgb(33, 25, 128)
HSLhsl(245, 67%, 30%)
HSVhsv(245, 80%, 50%)
CMYKcmyk(74.2%, 80.5%, 0%, 49.8%)
CIE-LABlab(18.26, 38.03, -55.85)
CIE-LCHlch(18.26, 67.57, 304.25°)
OKLaboklab(31.2% 0.014 -0.1615)
OKLCHoklch(31.2% 0.162 275)
XYZxyz(4.8698, 2.5766, 20.6586)
Luminance0.0258 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211980 #788019
analogous
#194580 #211980 #541980
triadic
#211980 #802119 #198021
tetradic
#211980 #801945 #788019 #198054
square
#211980 #801945 #788019 #198054
split-complementary
#211980 #805419 #458019
monochromatic
#07051A #140F4D #211980 #2E23B3 #473BD9

Accessibility & contrast

On white

13.86
#211980 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#211980 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211980
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211980#FFFFFF#000000##FFFFFF
##2119801.0013.861.5213.86
#FFFFFF13.861.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003183
Deuteranopia (green-blind)
#00287E
Tritanopia (blue-blind)
#00384C
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #211980;
/* rgb */ color: rgb(33, 25, 128);
/* oklch */ color: oklch(31.2% 0.162 275.0);
Tailwind
colors: {
  custom: {
    50: '#6d58a6',
    500: '#211980',
    950: '#000000',
  },
}
SCSS
$custom: #211980;
$custom-light: #6d58a6;
$custom-dark: #000000;
JSON
{
  "hex": "#211980",
  "rgb": {
    "r": 33,
    "g": 25,
    "b": 128
  },
  "hsl": {
    "h": 244.66,
    "s": 67.32,
    "l": 30
  },
  "oklch": {
    "l": 0.31199,
    "c": 0.16212,
    "h": 275
  },
  "luminance": 0.02577
}

Semantic roles & 50–950 ramp

primary
#211980
secondary
#ABB441
accent
#EA3EDD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #211980

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

Preview Lab → · Contrast checker → · Palette generator →

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