#2720AA#2720AA

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

Color values

HEX#2720AA
RGBrgb(39, 32, 170)
HSLhsl(243, 68%, 40%)
HSVhsv(243, 81%, 67%)
CMYKcmyk(77.1%, 81.2%, 0%, 33.3%)
CIE-LABlab(24.85, 48.47, -70.89)
CIE-LCHlch(24.85, 85.88, 304.36°)
OKLaboklab(37.34% 0.0088 -0.2051)
OKLCHoklch(37.34% 0.205 272.5)
XYZxyz(8.6065, 4.3657, 38.4115)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2720AA #A3AA20
analogous
#205EAA #2720AA #6C20AA
triadic
#2720AA #AA2720 #20AA27
tetradic
#2720AA #AA205E #A3AA20 #20AA6C
square
#2720AA #AA205E #A3AA20 #20AA6C
split-complementary
#2720AA #AA6C20 #5EAA20
monochromatic
#0F0D43 #1B1676 #2720AA #382FD8 #6963E2

Accessibility & contrast

On white

11.21
#2720AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2720AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2720AA
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2720AA#FFFFFF#000000##FFFFFF
##2720AA1.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041AE
Deuteranopia (green-blind)
#0034A8
Tritanopia (blue-blind)
#004B66
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2720aa;
/* rgb */ color: rgb(39, 32, 170);
/* oklch */ color: oklch(37.3% 0.205 272.5);
Tailwind
colors: {
  custom: {
    50: '#795fc5',
    500: '#2720aa',
    950: '#000000',
  },
}
SCSS
$custom: #2720aa;
$custom-light: #795fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#2720aa",
  "rgb": {
    "r": 39,
    "g": 32,
    "b": 170
  },
  "hsl": {
    "h": 243.043,
    "s": 68.317,
    "l": 39.608
  },
  "oklch": {
    "l": 0.37336,
    "c": 0.20533,
    "h": 272.5
  },
  "luminance": 0.04367
}

Semantic roles & 50–950 ramp

primary
#2720AA
secondary
#C1C75F
accent
#EB3DE2
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2720AA

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

Preview Lab → · Contrast checker → · Palette generator →

#2720AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva