#2722A3#2722A3

#2722A3 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.8% C 0.195 H 272.9°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#2722A3
RGBrgb(39, 34, 163)
HSLhsl(242, 65%, 39%)
HSVhsv(242, 79%, 64%)
CMYKcmyk(76.1%, 79.1%, 0%, 36.1%)
CIE-LABlab(24.38, 45.22, -67.42)
CIE-LCHlch(24.38, 81.18, 303.85°)
OKLaboklab(36.78% 0.0098 -0.1951)
OKLCHoklch(36.78% 0.195 272.9)
XYZxyz(8.0174, 4.2189, 35.0350)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2722A3 #9EA322
analogous
#225DA3 #2722A3 #6722A3
triadic
#2722A3 #A32722 #22A327
tetradic
#2722A3 #A3225D #9EA322 #22A367
square
#2722A3 #A3225D #9EA322 #22A367
split-complementary
#2722A3 #A36722 #5DA322
monochromatic
#0F0D3E #1B1770 #2722A3 #352FD4 #6661DE

Accessibility & contrast

On white

11.39
#2722A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#2722A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2722A3
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2722A3#FFFFFF#000000##FFFFFF
##2722A31.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A7
Deuteranopia (green-blind)
#0034A1
Tritanopia (blue-blind)
#004962
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2722a3;
/* rgb */ color: rgb(39, 34, 163);
/* oklch */ color: oklch(36.8% 0.195 272.9);
Tailwind
colors: {
  custom: {
    50: '#7760c0',
    500: '#2722a3',
    950: '#000000',
  },
}
SCSS
$custom: #2722a3;
$custom-light: #7760c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2722a3",
  "rgb": {
    "r": 39,
    "g": 34,
    "b": 163
  },
  "hsl": {
    "h": 242.326,
    "s": 65.482,
    "l": 38.627
  },
  "oklch": {
    "l": 0.36776,
    "c": 0.19535,
    "h": 272.9
  },
  "luminance": 0.0422
}

Semantic roles & 50–950 ramp

primary
#2722A3
secondary
#BFC35E
accent
#E83FE2
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2722A3

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

Preview Lab → · Contrast checker → · Palette generator →

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