#211880#211880

#211880 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 31.1% C 0.163 H 275.1°. Best body text is #FFFFFF at 13.93:1 contrast (WCAG AA passes).

Color values

HEX#211880
RGBrgb(33, 24, 128)
HSLhsl(245, 68%, 30%)
HSVhsv(245, 81%, 50%)
CMYKcmyk(74.2%, 81.3%, 0%, 49.8%)
CIE-LABlab(18.07, 38.57, -56.16)
CIE-LCHlch(18.07, 68.13, 304.48°)
OKLaboklab(31.07% 0.0144 -0.1624)
OKLCHoklch(31.07% 0.163 275.1)
XYZxyz(4.8488, 2.5346, 20.6516)
Luminance0.0254 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211880 #778018
analogous
#184380 #211880 #551880
triadic
#211880 #802118 #188021
tetradic
#211880 #801843 #778018 #188055
square
#211880 #801843 #778018 #188055
split-complementary
#211880 #805518 #438018
monochromatic
#07051A #140E4C #211880 #2E22B4 #4739DA

Accessibility & contrast

On white

13.93
#211880 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#211880 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211880
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211880#FFFFFF#000000##FFFFFF
##2118801.0013.931.5113.93
#FFFFFF13.931.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #211880;
/* rgb */ color: rgb(33, 24, 128);
/* oklch */ color: oklch(31.1% 0.163 275.1);
Tailwind
colors: {
  custom: {
    50: '#6d58a6',
    500: '#211880',
    950: '#000000',
  },
}
SCSS
$custom: #211880;
$custom-light: #6d58a6;
$custom-dark: #000000;
JSON
{
  "hex": "#211880",
  "rgb": {
    "r": 33,
    "g": 24,
    "b": 128
  },
  "hsl": {
    "h": 245.192,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.31068,
    "c": 0.16304,
    "h": 275.1
  },
  "luminance": 0.02535
}

Semantic roles & 50–950 ramp

primary
#211880
secondary
#AAB440
accent
#EB3DDC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #211880

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

Preview Lab → · Contrast checker → · Palette generator →

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