#2722BD#2722BD

#2722BD is a dark, highly saturated blue. Relative luminance 0.052; OKLCH L 39.8% C 0.226 H 271.0°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#2722BD
RGBrgb(39, 34, 189)
HSLhsl(242, 70%, 44%)
HSVhsv(242, 82%, 74%)
CMYKcmyk(79.4%, 82%, 0%, 25.9%)
CIE-LABlab(27.43, 53.40, -77.95)
CIE-LCHlch(27.43, 94.49, 304.41°)
OKLaboklab(39.78% 0.0039 -0.2256)
OKLCHoklch(39.78% 0.226 271)
XYZxyz(10.5909, 5.2483, 48.5891)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2722BD #B8BD22
analogous
#226BBD #2722BD #7422BD
triadic
#2722BD #BD2722 #22BD27
tetradic
#2722BD #BD226B #B8BD22 #22BD74
square
#2722BD #BD226B #B8BD22 #22BD74
split-complementary
#2722BD #BD7422 #6BBD22
monochromatic
#120F55 #1C1989 #2722BD #4540DD #7773E6

Accessibility & contrast

On white

10.24
#2722BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#2722BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2722BD
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2722BD#FFFFFF#000000##FFFFFF
##2722BD1.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048C1
Deuteranopia (green-blind)
#0039BA
Tritanopia (blue-blind)
#005471
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2722bd;
/* rgb */ color: rgb(39, 34, 189);
/* oklch */ color: oklch(39.8% 0.226 271.0);
Tailwind
colors: {
  custom: {
    50: '#7d62d2',
    500: '#2722bd',
    950: '#000000',
  },
}
SCSS
$custom: #2722bd;
$custom-light: #7d62d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2722bd",
  "rgb": {
    "r": 39,
    "g": 34,
    "b": 189
  },
  "hsl": {
    "h": 241.935,
    "s": 69.507,
    "l": 43.725
  },
  "oklch": {
    "l": 0.39782,
    "c": 0.22565,
    "h": 271
  },
  "luminance": 0.0525
}

Semantic roles & 50–950 ramp

primary
#2722BD
secondary
#CACD6E
accent
#EC3BE7
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0514
muted
#7D7A83

Preview Lab

Preview with #2722BD

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

Preview Lab → · Contrast checker → · Palette generator →

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