#2722A6#2722A6

#2722A6 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 37.1% C 0.199 H 272.6°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#2722A6
RGBrgb(39, 34, 166)
HSLhsl(242, 66%, 39%)
HSVhsv(242, 80%, 65%)
CMYKcmyk(76.5%, 79.5%, 0%, 34.9%)
CIE-LABlab(24.73, 46.19, -68.67)
CIE-LCHlch(24.73, 82.76, 303.92°)
OKLaboklab(37.12% 0.0091 -0.1987)
OKLCHoklch(37.12% 0.199 272.6)
XYZxyz(8.2894, 4.3277, 36.4675)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2722A6 #A1A622
analogous
#225FA6 #2722A6 #6922A6
triadic
#2722A6 #A62722 #22A627
tetradic
#2722A6 #A6225F #A1A622 #22A669
square
#2722A6 #A6225F #A1A622 #22A669
split-complementary
#2722A6 #A66922 #5FA622
monochromatic
#0F0D40 #1B1873 #2722A6 #3730D5 #6863DF

Accessibility & contrast

On white

11.26
#2722A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##2722A6#FFFFFF#000000##FFFFFF
##2722A61.0011.261.8711.26
#FFFFFF11.261.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2722a6;
/* rgb */ color: rgb(39, 34, 166);
/* oklch */ color: oklch(37.1% 0.199 272.6);
Tailwind
colors: {
  custom: {
    50: '#7860c2',
    500: '#2722a6',
    950: '#000000',
  },
}
SCSS
$custom: #2722a6;
$custom-light: #7860c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2722a6",
  "rgb": {
    "r": 39,
    "g": 34,
    "b": 166
  },
  "hsl": {
    "h": 242.273,
    "s": 66,
    "l": 39.216
  },
  "oklch": {
    "l": 0.37118,
    "c": 0.19895,
    "h": 272.6
  },
  "luminance": 0.04329
}

Semantic roles & 50–950 ramp

primary
#2722A6
secondary
#C0C45F
accent
#E93FE2
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2722A6

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

Preview Lab → · Contrast checker → · Palette generator →

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