#2722A7#2722A7

#2722A7 is a dark, highly saturated blue. Relative luminance 0.044; OKLCH L 37.2% C 0.200 H 272.5°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#2722A7
RGBrgb(39, 34, 167)
HSLhsl(242, 66%, 39%)
HSVhsv(242, 80%, 65%)
CMYKcmyk(76.6%, 79.6%, 0%, 34.5%)
CIE-LABlab(24.84, 46.51, -69.09)
CIE-LCHlch(24.84, 83.28, 303.95°)
OKLaboklab(37.23% 0.0089 -0.1999)
OKLCHoklch(37.23% 0.2 272.5)
XYZxyz(8.3814, 4.3645, 36.9524)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2722A7 #A2A722
analogous
#225FA7 #2722A7 #6A22A7
triadic
#2722A7 #A72722 #22A727
tetradic
#2722A7 #A7225F #A2A722 #22A76A
square
#2722A7 #A7225F #A2A722 #22A76A
split-complementary
#2722A7 #A76A22 #5FA722
monochromatic
#0F0D41 #1B1874 #2722A7 #3731D5 #6964DF

Accessibility & contrast

On white

11.21
#2722A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2722A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2722A7
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2722A7#FFFFFF#000000##FFFFFF
##2722A71.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041AB
Deuteranopia (green-blind)
#0034A5
Tritanopia (blue-blind)
#004B64
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2722a7;
/* rgb */ color: rgb(39, 34, 167);
/* oklch */ color: oklch(37.2% 0.200 272.5);
Tailwind
colors: {
  custom: {
    50: '#7860c3',
    500: '#2722a7',
    950: '#000000',
  },
}
SCSS
$custom: #2722a7;
$custom-light: #7860c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2722a7",
  "rgb": {
    "r": 39,
    "g": 34,
    "b": 167
  },
  "hsl": {
    "h": 242.256,
    "s": 66.169,
    "l": 39.412
  },
  "oklch": {
    "l": 0.37232,
    "c": 0.20014,
    "h": 272.5
  },
  "luminance": 0.04365
}

Semantic roles & 50–950 ramp

primary
#2722A7
secondary
#C1C560
accent
#E93FE3
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2722A7

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

Preview Lab → · Contrast checker → · Palette generator →

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