#2722A8#2722A8

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

Color values

HEX#2722A8
RGBrgb(39, 34, 168)
HSLhsl(242, 66%, 40%)
HSVhsv(242, 80%, 66%)
CMYKcmyk(76.8%, 79.8%, 0%, 34.1%)
CIE-LABlab(24.96, 46.83, -69.50)
CIE-LCHlch(24.96, 83.81, 303.97°)
OKLaboklab(37.35% 0.0087 -0.2011)
OKLCHoklch(37.35% 0.201 272.5)
XYZxyz(8.4742, 4.4016, 37.4412)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2722A8 #A3A822
analogous
#2260A8 #2722A8 #6A22A8
triadic
#2722A8 #A82722 #22A827
tetradic
#2722A8 #A82260 #A3A822 #22A86A
square
#2722A8 #A82260 #A3A822 #22A86A
split-complementary
#2722A8 #A86A22 #60A822
monochromatic
#0F0D42 #1B1875 #2722A8 #3832D5 #6965E0

Accessibility & contrast

On white

11.17
#2722A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2722A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2722A8#FFFFFF#000000##FFFFFF
##2722A81.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042AC
Deuteranopia (green-blind)
#0035A6
Tritanopia (blue-blind)
#004B65
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2722a8;
/* rgb */ color: rgb(39, 34, 168);
/* oklch */ color: oklch(37.3% 0.201 272.5);
Tailwind
colors: {
  custom: {
    50: '#7860c3',
    500: '#2722a8',
    950: '#000000',
  },
}
SCSS
$custom: #2722a8;
$custom-light: #7860c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2722a8",
  "rgb": {
    "r": 39,
    "g": 34,
    "b": 168
  },
  "hsl": {
    "h": 242.239,
    "s": 66.337,
    "l": 39.608
  },
  "oklch": {
    "l": 0.37346,
    "c": 0.20133,
    "h": 272.5
  },
  "luminance": 0.04403
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2722A8

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

Preview Lab → · Contrast checker → · Palette generator →

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