#2722B0#2722B0

#2722B0 is a dark, highly saturated blue. Relative luminance 0.047; OKLCH L 38.3% C 0.211 H 271.9°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#2722B0
RGBrgb(39, 34, 176)
HSLhsl(242, 68%, 41%)
HSVhsv(242, 81%, 69%)
CMYKcmyk(77.8%, 80.7%, 0%, 31%)
CIE-LABlab(25.89, 49.37, -72.77)
CIE-LCHlch(25.89, 87.94, 304.15°)
OKLaboklab(38.27% 0.0068 -0.2106)
OKLCHoklch(38.27% 0.211 271.9)
XYZxyz(9.2426, 4.7090, 41.4877)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2722B0 #ABB022
analogous
#2264B0 #2722B0 #6E22B0
triadic
#2722B0 #B02722 #22B027
tetradic
#2722B0 #B02264 #ABB022 #22B06E
square
#2722B0 #B02264 #ABB022 #22B06E
split-complementary
#2722B0 #B06E22 #64B022
monochromatic
#100E49 #1C187D #2722B0 #3D37D8 #6E6AE2

Accessibility & contrast

On white

10.81
#2722B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#2722B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2722B0
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2722B0#FFFFFF#000000##FFFFFF
##2722B01.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B4
Deuteranopia (green-blind)
#0036AE
Tritanopia (blue-blind)
#004F6A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2722b0;
/* rgb */ color: rgb(39, 34, 176);
/* oklch */ color: oklch(38.3% 0.211 271.9);
Tailwind
colors: {
  custom: {
    50: '#7a61c9',
    500: '#2722b0',
    950: '#000000',
  },
}
SCSS
$custom: #2722b0;
$custom-light: #7a61c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2722b0",
  "rgb": {
    "r": 39,
    "g": 34,
    "b": 176
  },
  "hsl": {
    "h": 242.113,
    "s": 67.619,
    "l": 41.176
  },
  "oklch": {
    "l": 0.38267,
    "c": 0.21072,
    "h": 271.9
  },
  "luminance": 0.0471
}

Semantic roles & 50–950 ramp

primary
#2722B0
secondary
#C5C866
accent
#EA3DE4
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2722B0

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

Preview Lab → · Contrast checker → · Palette generator →

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