#2722C1#2722C1

#2722C1 is a dark, highly saturated blue. Relative luminance 0.054; OKLCH L 40.3% C 0.230 H 270.7°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#2722C1
RGBrgb(39, 34, 193)
HSLhsl(242, 70%, 45%)
HSVhsv(242, 82%, 76%)
CMYKcmyk(79.8%, 82.4%, 0%, 24.3%)
CIE-LABlab(27.91, 54.62, -79.52)
CIE-LCHlch(27.91, 96.47, 304.48°)
OKLaboklab(40.25% 0.003 -0.2301)
OKLCHoklch(40.25% 0.23 270.7)
XYZxyz(11.0311, 5.4244, 50.9074)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2722C1 #BCC122
analogous
#226CC1 #2722C1 #7722C1
triadic
#2722C1 #C12722 #22C127
tetradic
#2722C1 #C1226C #BCC122 #22C177
square
#2722C1 #C1226C #BCC122 #22C177
split-complementary
#2722C1 #C17722 #6CC122
monochromatic
#121059 #1C198D #2722C1 #4742DE #7A76E7

Accessibility & contrast

On white

10.07
#2722C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#2722C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2722C1
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2722C1#FFFFFF#000000##FFFFFF
##2722C11.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AC5
Deuteranopia (green-blind)
#003ABE
Tritanopia (blue-blind)
#005674
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2722c1;
/* rgb */ color: rgb(39, 34, 193);
/* oklch */ color: oklch(40.3% 0.230 270.7);
Tailwind
colors: {
  custom: {
    50: '#7e62d5',
    500: '#2722c1',
    950: '#000000',
  },
}
SCSS
$custom: #2722c1;
$custom-light: #7e62d5;
$custom-dark: #000000;
JSON
{
  "hex": "#2722c1",
  "rgb": {
    "r": 39,
    "g": 34,
    "b": 193
  },
  "hsl": {
    "h": 241.887,
    "s": 70.044,
    "l": 44.51
  },
  "oklch": {
    "l": 0.40252,
    "c": 0.23017,
    "h": 270.7
  },
  "luminance": 0.05426
}

Semantic roles & 50–950 ramp

primary
#2722C1
secondary
#CBCE71
accent
#ED3BE7
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0514
muted
#7D7A83

Preview Lab

Preview with #2722C1

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

Preview Lab → · Contrast checker → · Palette generator →

#2722C1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva