#2720A8#2720A8

#2720A8 is a dark, highly saturated blue. Relative luminance 0.043; OKLCH L 37.1% C 0.203 H 272.6°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#2720A8
RGBrgb(39, 32, 168)
HSLhsl(243, 68%, 39%)
HSVhsv(243, 81%, 66%)
CMYKcmyk(76.8%, 81%, 0%, 34.1%)
CIE-LABlab(24.61, 47.84, -70.08)
CIE-LCHlch(24.61, 84.85, 304.32°)
OKLaboklab(37.1% 0.0093 -0.2028)
OKLCHoklch(37.1% 0.203 272.6)
XYZxyz(8.4187, 4.2906, 37.4227)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2720A8 #A1A820
analogous
#205DA8 #2720A8 #6B20A8
triadic
#2720A8 #A82720 #20A827
tetradic
#2720A8 #A8205D #A1A820 #20A86B
square
#2720A8 #A8205D #A1A820 #20A86B
split-complementary
#2720A8 #A86B20 #5DA820
monochromatic
#0F0C41 #1B1675 #2720A8 #372ED7 #6861E1

Accessibility & contrast

On white

11.30
#2720A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2720A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2720A8#FFFFFF#000000##FFFFFF
##2720A81.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)
#0041AC
Deuteranopia (green-blind)
#0034A6
Tritanopia (blue-blind)
#004B65
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2720a8;
/* rgb */ color: rgb(39, 32, 168);
/* oklch */ color: oklch(37.1% 0.203 272.6);
Tailwind
colors: {
  custom: {
    50: '#785fc3',
    500: '#2720a8',
    950: '#000000',
  },
}
SCSS
$custom: #2720a8;
$custom-light: #785fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#2720a8",
  "rgb": {
    "r": 39,
    "g": 32,
    "b": 168
  },
  "hsl": {
    "h": 243.088,
    "s": 68,
    "l": 39.216
  },
  "oklch": {
    "l": 0.37104,
    "c": 0.20298,
    "h": 272.6
  },
  "luminance": 0.04292
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2720A8

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

Preview Lab → · Contrast checker → · Palette generator →

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