#2721AC#2721AC

#2721AC is a dark, highly saturated blue. Relative luminance 0.045; OKLCH L 37.7% C 0.207 H 272.2°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#2721AC
RGBrgb(39, 33, 172)
HSLhsl(243, 68%, 40%)
HSVhsv(243, 81%, 67%)
CMYKcmyk(77.3%, 80.8%, 0%, 32.5%)
CIE-LABlab(25.25, 48.61, -71.43)
CIE-LCHlch(25.25, 86.40, 304.23°)
OKLaboklab(37.69% 0.0081 -0.2067)
OKLCHoklch(37.69% 0.207 272.2)
XYZxyz(8.8245, 4.4966, 39.4246)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2721AC #A6AC21
analogous
#2160AC #2721AC #6C21AC
triadic
#2721AC #AC2721 #21AC27
tetradic
#2721AC #AC2160 #A6AC21 #21AC6C
square
#2721AC #AC2160 #A6AC21 #21AC6C
split-complementary
#2721AC #AC6C21 #60AC21
monochromatic
#100D45 #1B1779 #2721AC #3A32D8 #6B66E2

Accessibility & contrast

On white

11.05
#2721AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2721AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2721AC
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2721AC#FFFFFF#000000##FFFFFF
##2721AC1.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042B0
Deuteranopia (green-blind)
#0035AA
Tritanopia (blue-blind)
#004D67
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2721ac;
/* rgb */ color: rgb(39, 33, 172);
/* oklch */ color: oklch(37.7% 0.207 272.2);
Tailwind
colors: {
  custom: {
    50: '#7960c6',
    500: '#2721ac',
    950: '#000000',
  },
}
SCSS
$custom: #2721ac;
$custom-light: #7960c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2721ac",
  "rgb": {
    "r": 39,
    "g": 33,
    "b": 172
  },
  "hsl": {
    "h": 242.59,
    "s": 67.805,
    "l": 40.196
  },
  "oklch": {
    "l": 0.37686,
    "c": 0.20687,
    "h": 272.2
  },
  "luminance": 0.04498
}

Semantic roles & 50–950 ramp

primary
#2721AC
secondary
#C3C762
accent
#EB3DE3
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2721AC

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

Preview Lab → · Contrast checker → · Palette generator →

#2721AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva