#2722A5#2722A5

#2722A5 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 37.0% C 0.198 H 272.7°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#2722A5
RGBrgb(39, 34, 165)
HSLhsl(242, 66%, 39%)
HSVhsv(242, 79%, 65%)
CMYKcmyk(76.4%, 79.4%, 0%, 35.3%)
CIE-LABlab(24.61, 45.87, -68.26)
CIE-LCHlch(24.61, 82.24, 303.90°)
OKLaboklab(37% 0.0093 -0.1975)
OKLCHoklch(37% 0.198 272.7)
XYZxyz(8.1980, 4.2911, 35.9862)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2722A5 #A0A522
analogous
#225FA5 #2722A5 #6922A5
triadic
#2722A5 #A52722 #22A527
tetradic
#2722A5 #A5225F #A0A522 #22A569
square
#2722A5 #A5225F #A0A522 #22A569
split-complementary
#2722A5 #A56922 #5FA522
monochromatic
#0F0D40 #1B1872 #2722A5 #3630D4 #6763DF

Accessibility & contrast

On white

11.30
#2722A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2722A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2722A5#FFFFFF#000000##FFFFFF
##2722A51.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A9
Deuteranopia (green-blind)
#0034A3
Tritanopia (blue-blind)
#004A63
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2722a5;
/* rgb */ color: rgb(39, 34, 165);
/* oklch */ color: oklch(37.0% 0.198 272.7);
Tailwind
colors: {
  custom: {
    50: '#7860c1',
    500: '#2722a5',
    950: '#000000',
  },
}
SCSS
$custom: #2722a5;
$custom-light: #7860c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2722a5",
  "rgb": {
    "r": 39,
    "g": 34,
    "b": 165
  },
  "hsl": {
    "h": 242.29,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.37004,
    "c": 0.19775,
    "h": 272.7
  },
  "luminance": 0.04292
}

Semantic roles & 50–950 ramp

primary
#2722A5
secondary
#C0C45F
accent
#E93FE2
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2722A5

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

Preview Lab → · Contrast checker → · Palette generator →

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