#2722AC#2722AC

#2722AC is a dark, highly saturated blue. Relative luminance 0.046; OKLCH L 37.8% C 0.206 H 272.2°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#2722AC
RGBrgb(39, 34, 172)
HSLhsl(242, 67%, 40%)
HSVhsv(242, 80%, 67%)
CMYKcmyk(77.3%, 80.2%, 0%, 32.5%)
CIE-LABlab(25.42, 48.11, -71.14)
CIE-LCHlch(25.42, 85.88, 304.07°)
OKLaboklab(37.81% 0.0077 -0.2059)
OKLCHoklch(37.81% 0.206 272.2)
XYZxyz(8.8526, 4.5530, 39.4340)
Luminance0.0455 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2722AC #A7AC22
analogous
#2262AC #2722AC #6C22AC
triadic
#2722AC #AC2722 #22AC27
tetradic
#2722AC #AC2262 #A7AC22 #22AC6C
square
#2722AC #AC2262 #A7AC22 #22AC6C
split-complementary
#2722AC #AC6C22 #62AC22
monochromatic
#100E46 #1B1879 #2722AC #3A34D7 #6C67E1

Accessibility & contrast

On white

10.99
#2722AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2722AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2722AC
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2722AC#FFFFFF#000000##FFFFFF
##2722AC1.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043B0
Deuteranopia (green-blind)
#0035AA
Tritanopia (blue-blind)
#004D67
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2722ac;
/* rgb */ color: rgb(39, 34, 172);
/* oklch */ color: oklch(37.8% 0.206 272.2);
Tailwind
colors: {
  custom: {
    50: '#7961c6',
    500: '#2722ac',
    950: '#000000',
  },
}
SCSS
$custom: #2722ac;
$custom-light: #7961c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2722ac",
  "rgb": {
    "r": 39,
    "g": 34,
    "b": 172
  },
  "hsl": {
    "h": 242.174,
    "s": 66.99,
    "l": 40.392
  },
  "oklch": {
    "l": 0.37805,
    "c": 0.20605,
    "h": 272.2
  },
  "luminance": 0.04554
}

Semantic roles & 50–950 ramp

primary
#2722AC
secondary
#C3C763
accent
#EA3EE4
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2722AC

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

Preview Lab → · Contrast checker → · Palette generator →

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