#2215A0#2215A0

#2215A0 is a dark, highly saturated blue. Relative luminance 0.034; OKLCH L 34.7% C 0.203 H 272.2°. Best body text is #FFFFFF at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#2215A0
RGBrgb(34, 21, 160)
HSLhsl(246, 77%, 35%)
HSVhsv(246, 87%, 63%)
CMYKcmyk(78.8%, 86.9%, 0%, 37.3%)
CIE-LABlab(21.63, 50.05, -70.17)
CIE-LCHlch(21.63, 86.20, 305.50°)
OKLaboklab(34.68% 0.0079 -0.2029)
OKLCHoklch(34.68% 0.203 272.2)
XYZxyz(7.2709, 3.4137, 33.5266)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2215A0 #93A015
analogous
#154DA0 #2215A0 #6815A0
triadic
#2215A0 #A02215 #15A022
tetradic
#2215A0 #A0154D #93A015 #15A068
square
#2215A0 #A0154D #93A015 #15A068
split-complementary
#2215A0 #A06815 #4DA015
monochromatic
#0B0734 #170E6A #2215A0 #2D1CD6 #5748E7

Accessibility & contrast

On white

12.48
#2215A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#2215A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2215A0
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2215A0#FFFFFF#000000##FFFFFF
##2215A01.0012.481.6812.48
#FFFFFF12.481.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003AA4
Deuteranopia (green-blind)
#002D9E
Tritanopia (blue-blind)
#00445E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2215a0;
/* rgb */ color: rgb(34, 21, 160);
/* oklch */ color: oklch(34.7% 0.203 272.2);
Tailwind
colors: {
  custom: {
    50: '#7659be',
    500: '#2215a0',
    950: '#000000',
  },
}
SCSS
$custom: #2215a0;
$custom-light: #7659be;
$custom-dark: #000000;
JSON
{
  "hex": "#2215a0",
  "rgb": {
    "r": 34,
    "g": 21,
    "b": 160
  },
  "hsl": {
    "h": 245.612,
    "s": 76.796,
    "l": 35.49
  },
  "oklch": {
    "l": 0.34683,
    "c": 0.20309,
    "h": 272.2
  },
  "luminance": 0.03414
}

Semantic roles & 50–950 ramp

primary
#2215A0
secondary
#BCC849
accent
#F334E1
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #2215A0

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

Preview Lab → · Contrast checker → · Palette generator →

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