#2722AA#2722AA

#2722AA is a dark, highly saturated blue. Relative luminance 0.045; OKLCH L 37.6% C 0.204 H 272.3°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#2722AA
RGBrgb(39, 34, 170)
HSLhsl(242, 67%, 40%)
HSVhsv(242, 80%, 67%)
CMYKcmyk(77.1%, 80%, 0%, 33.3%)
CIE-LABlab(25.19, 47.47, -70.33)
CIE-LCHlch(25.19, 84.85, 304.02°)
OKLaboklab(37.57% 0.0082 -0.2035)
OKLCHoklch(37.57% 0.204 272.3)
XYZxyz(8.6620, 4.4767, 38.4300)
Luminance0.0448 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2722AA #A5AA22
analogous
#2261AA #2722AA #6B22AA
triadic
#2722AA #AA2722 #22AA27
tetradic
#2722AA #AA2261 #A5AA22 #22AA6B
square
#2722AA #AA2261 #A5AA22 #22AA6B
split-complementary
#2722AA #AA6B22 #61AA22
monochromatic
#100E44 #1B1877 #2722AA #3933D6 #6A66E0

Accessibility & contrast

On white

11.08
#2722AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2722AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2722AA#FFFFFF#000000##FFFFFF
##2722AA1.0011.081.9011.08
#FFFFFF11.081.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042AE
Deuteranopia (green-blind)
#0035A8
Tritanopia (blue-blind)
#004C66
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2722aa;
/* rgb */ color: rgb(39, 34, 170);
/* oklch */ color: oklch(37.6% 0.204 272.3);
Tailwind
colors: {
  custom: {
    50: '#7960c5',
    500: '#2722aa',
    950: '#000000',
  },
}
SCSS
$custom: #2722aa;
$custom-light: #7960c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2722aa",
  "rgb": {
    "r": 39,
    "g": 34,
    "b": 170
  },
  "hsl": {
    "h": 242.206,
    "s": 66.667,
    "l": 40
  },
  "oklch": {
    "l": 0.37575,
    "c": 0.20369,
    "h": 272.3
  },
  "luminance": 0.04478
}

Semantic roles & 50–950 ramp

primary
#2722AA
secondary
#C2C662
accent
#EA3EE3
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2722AA

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

Preview Lab → · Contrast checker → · Palette generator →

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