#2722B3#2722B3

#2722B3 is a dark, highly saturated blue. Relative luminance 0.048; OKLCH L 38.6% C 0.214 H 271.6°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#2722B3
RGBrgb(39, 34, 179)
HSLhsl(242, 68%, 42%)
HSVhsv(242, 81%, 70%)
CMYKcmyk(78.2%, 81%, 0%, 29.8%)
CIE-LABlab(26.24, 50.31, -73.98)
CIE-LCHlch(26.24, 89.47, 304.22°)
OKLaboklab(38.61% 0.0062 -0.2141)
OKLCHoklch(38.61% 0.214 271.6)
XYZxyz(9.5427, 4.8290, 43.0682)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2722B3 #AEB322
analogous
#2266B3 #2722B3 #7022B3
triadic
#2722B3 #B32722 #22B327
tetradic
#2722B3 #B32266 #AEB322 #22B370
square
#2722B3 #B32266 #AEB322 #22B370
split-complementary
#2722B3 #B37022 #66B322
monochromatic
#110E4C #1C1880 #2722B3 #3E39D9 #706CE3

Accessibility & contrast

On white

10.68
#2722B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#2722B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2722B3#FFFFFF#000000##FFFFFF
##2722B31.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B7
Deuteranopia (green-blind)
#0037B1
Tritanopia (blue-blind)
#00506B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2722b3;
/* rgb */ color: rgb(39, 34, 179);
/* oklch */ color: oklch(38.6% 0.214 271.6);
Tailwind
colors: {
  custom: {
    50: '#7b61cb',
    500: '#2722b3',
    950: '#000000',
  },
}
SCSS
$custom: #2722b3;
$custom-light: #7b61cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2722b3",
  "rgb": {
    "r": 39,
    "g": 34,
    "b": 179
  },
  "hsl": {
    "h": 242.069,
    "s": 68.075,
    "l": 41.765
  },
  "oklch": {
    "l": 0.38614,
    "c": 0.21421,
    "h": 271.6
  },
  "luminance": 0.0483
}

Semantic roles & 50–950 ramp

primary
#2722B3
secondary
#C6C968
accent
#EB3DE5
background
#F8F5FC
surface
#EFEAF9
border
#CAC6D2
text
#0B0514
muted
#7C7982

Preview Lab

Preview with #2722B3

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

Preview Lab → · Contrast checker → · Palette generator →

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