#211780#211780

#211780 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.9% C 0.164 H 275.2°. Best body text is #FFFFFF at 14.01:1 contrast (WCAG AA passes).

Color values

HEX#211780
RGBrgb(33, 23, 128)
HSLhsl(246, 70%, 30%)
HSVhsv(246, 82%, 50%)
CMYKcmyk(74.2%, 82%, 0%, 49.8%)
CIE-LABlab(17.89, 39.09, -56.46)
CIE-LCHlch(17.89, 68.68, 304.70°)
OKLaboklab(30.94% 0.0149 -0.1633)
OKLCHoklch(30.94% 0.164 275.2)
XYZxyz(4.8286, 2.4942, 20.6448)
Luminance0.0249 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211780 #768017
analogous
#174280 #211780 #551780
triadic
#211780 #802117 #178021
tetradic
#211780 #801742 #768017 #178055
square
#211780 #801742 #768017 #178055
split-complementary
#211780 #805517 #428017
monochromatic
#07051A #140E4C #211780 #2E20B4 #4636DB

Accessibility & contrast

On white

14.01
#211780 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#211780 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211780
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211780#FFFFFF#000000##FFFFFF
##2117801.0014.011.5014.01
#FFFFFF14.011.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #211780;
/* rgb */ color: rgb(33, 23, 128);
/* oklch */ color: oklch(30.9% 0.164 275.2);
Tailwind
colors: {
  custom: {
    50: '#6d57a6',
    500: '#211780',
    950: '#000000',
  },
}
SCSS
$custom: #211780;
$custom-light: #6d57a6;
$custom-dark: #000000;
JSON
{
  "hex": "#211780",
  "rgb": {
    "r": 33,
    "g": 23,
    "b": 128
  },
  "hsl": {
    "h": 245.714,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.30941,
    "c": 0.16394,
    "h": 275.2
  },
  "luminance": 0.02495
}

Semantic roles & 50–950 ramp

primary
#211780
secondary
#A9B43E
accent
#EC3BDB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #211780

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

Preview Lab → · Contrast checker → · Palette generator →

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