#211CA1#211CA1

#211CA1 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.5% C 0.200 H 271.4°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#211CA1
RGBrgb(33, 28, 161)
HSLhsl(242, 70%, 37%)
HSVhsv(242, 83%, 63%)
CMYKcmyk(79.5%, 82.6%, 0%, 36.9%)
CIE-LABlab(22.74, 47.20, -68.93)
CIE-LCHlch(22.74, 83.55, 304.40°)
OKLaboklab(35.47% 0.0049 -0.1995)
OKLCHoklch(35.47% 0.2 271.4)
XYZxyz(7.4733, 3.7262, 34.0367)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211CA1 #9CA11C
analogous
#1C59A1 #211CA1 #641CA1
triadic
#211CA1 #A1211C #1CA121
tetradic
#211CA1 #A11C59 #9CA11C #1CA164
square
#211CA1 #A11C59 #9CA11C #1CA164
split-complementary
#211CA1 #A1641C #59A11C
monochromatic
#0C0A39 #16136D #211CA1 #2C25D5 #5B56E2

Accessibility & contrast

On white

12.03
#211CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#211CA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211CA1
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211CA1#FFFFFF#000000##FFFFFF
##211CA11.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA5
Deuteranopia (green-blind)
#002F9F
Tritanopia (blue-blind)
#004760
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #211ca1;
/* rgb */ color: rgb(33, 28, 161);
/* oklch */ color: oklch(35.5% 0.200 271.4);
Tailwind
colors: {
  custom: {
    50: '#755cbe',
    500: '#211ca1',
    950: '#000000',
  },
}
SCSS
$custom: #211ca1;
$custom-light: #755cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#211ca1",
  "rgb": {
    "r": 33,
    "g": 28,
    "b": 161
  },
  "hsl": {
    "h": 242.256,
    "s": 70.37,
    "l": 37.059
  },
  "oklch": {
    "l": 0.3547,
    "c": 0.19956,
    "h": 271.4
  },
  "luminance": 0.03727
}

Semantic roles & 50–950 ramp

primary
#211CA1
secondary
#C1C554
accent
#ED3BE6
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #211CA1

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

Preview Lab → · Contrast checker → · Palette generator →

#211CA1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva