#2720A5#2720A5

#2720A5 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.8% C 0.199 H 272.9°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#2720A5
RGBrgb(39, 32, 165)
HSLhsl(243, 68%, 39%)
HSVhsv(243, 81%, 65%)
CMYKcmyk(76.4%, 80.6%, 0%, 35.3%)
CIE-LABlab(24.26, 46.89, -68.84)
CIE-LCHlch(24.26, 83.30, 304.26°)
OKLaboklab(36.76% 0.01 -0.1992)
OKLCHoklch(36.76% 0.199 272.9)
XYZxyz(8.1425, 4.1801, 35.9677)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2720A5 #9EA520
analogous
#205BA5 #2720A5 #6920A5
triadic
#2720A5 #A52720 #20A527
tetradic
#2720A5 #A5205B #9EA520 #20A569
square
#2720A5 #A5205B #9EA520 #20A569
split-complementary
#2720A5 #A56920 #5BA520
monochromatic
#0F0C3E #1B1672 #2720A5 #352CD6 #665FE0

Accessibility & contrast

On white

11.44
#2720A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#2720A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2720A5#FFFFFF#000000##FFFFFF
##2720A51.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A9
Deuteranopia (green-blind)
#0033A3
Tritanopia (blue-blind)
#004963
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2720a5;
/* rgb */ color: rgb(39, 32, 165);
/* oklch */ color: oklch(36.8% 0.199 272.9);
Tailwind
colors: {
  custom: {
    50: '#785fc1',
    500: '#2720a5',
    950: '#000000',
  },
}
SCSS
$custom: #2720a5;
$custom-light: #785fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#2720a5",
  "rgb": {
    "r": 39,
    "g": 32,
    "b": 165
  },
  "hsl": {
    "h": 243.158,
    "s": 67.513,
    "l": 38.627
  },
  "oklch": {
    "l": 0.36757,
    "c": 0.19945,
    "h": 272.9
  },
  "luminance": 0.04181
}

Semantic roles & 50–950 ramp

primary
#2720A5
secondary
#BFC55C
accent
#EA3DE1
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #2720A5

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

Preview Lab → · Contrast checker → · Palette generator →

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