#2215A1#2215A1

#2215A1 is a dark, highly saturated blue. Relative luminance 0.035; OKLCH L 34.8% C 0.204 H 272.1°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#2215A1
RGBrgb(34, 21, 161)
HSLhsl(246, 77%, 36%)
HSVhsv(246, 87%, 63%)
CMYKcmyk(78.9%, 87%, 0%, 36.9%)
CIE-LABlab(21.76, 50.35, -70.57)
CIE-LCHlch(21.76, 86.69, 305.51°)
OKLaboklab(34.81% 0.0077 -0.2041)
OKLCHoklch(34.81% 0.204 272.1)
XYZxyz(7.3587, 3.4488, 33.9892)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2215A1 #94A115
analogous
#154EA1 #2215A1 #6815A1
triadic
#2215A1 #A12215 #15A122
tetradic
#2215A1 #A1154E #94A115 #15A168
square
#2215A1 #A1154E #94A115 #15A168
split-complementary
#2215A1 #A16815 #4EA115
monochromatic
#0B0735 #170E6B #2215A1 #2D1CD7 #5849E7

Accessibility & contrast

On white

12.43
#2215A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#2215A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2215A1
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2215A1#FFFFFF#000000##FFFFFF
##2215A11.0012.431.6912.43
#FFFFFF12.431.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003BA5
Deuteranopia (green-blind)
#002D9F
Tritanopia (blue-blind)
#00445F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2215a1;
/* rgb */ color: rgb(34, 21, 161);
/* oklch */ color: oklch(34.8% 0.204 272.1);
Tailwind
colors: {
  custom: {
    50: '#7659be',
    500: '#2215a1',
    950: '#000000',
  },
}
SCSS
$custom: #2215a1;
$custom-light: #7659be;
$custom-dark: #000000;
JSON
{
  "hex": "#2215a1",
  "rgb": {
    "r": 34,
    "g": 21,
    "b": 161
  },
  "hsl": {
    "h": 245.571,
    "s": 76.923,
    "l": 35.686
  },
  "oklch": {
    "l": 0.34807,
    "c": 0.20422,
    "h": 272.1
  },
  "luminance": 0.0345
}

Semantic roles & 50–950 ramp

primary
#2215A1
secondary
#BDC849
accent
#F334E2
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #2215A1

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

Preview Lab → · Contrast checker → · Palette generator →

#2215A1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva