#2720A0#2720A0

#2720A0 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.2% C 0.193 H 273.3°. Best body text is #FFFFFF at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#2720A0
RGBrgb(39, 32, 160)
HSLhsl(243, 67%, 38%)
HSVhsv(243, 80%, 63%)
CMYKcmyk(75.6%, 80%, 0%, 37.3%)
CIE-LABlab(23.68, 45.29, -66.77)
CIE-LCHlch(23.68, 80.68, 304.15°)
OKLaboklab(36.18% 0.0112 -0.1932)
OKLCHoklch(36.18% 0.193 273.3)
XYZxyz(7.6963, 4.0016, 33.6177)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2720A0 #99A020
analogous
#2059A0 #2720A0 #6720A0
triadic
#2720A0 #A02720 #20A027
tetradic
#2720A0 #A02059 #99A020 #20A067
square
#2720A0 #A02059 #99A020 #20A067
split-complementary
#2720A0 #A06720 #59A020
monochromatic
#0E0C3A #1B166D #2720A0 #332AD3 #635CDE

Accessibility & contrast

On white

11.66
#2720A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#2720A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2720A0#FFFFFF#000000##FFFFFF
##2720A01.0011.661.8011.66
#FFFFFF11.661.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA4
Deuteranopia (green-blind)
#00329E
Tritanopia (blue-blind)
#004760
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2720a0;
/* rgb */ color: rgb(39, 32, 160);
/* oklch */ color: oklch(36.2% 0.193 273.3);
Tailwind
colors: {
  custom: {
    50: '#765fbd',
    500: '#2720a0',
    950: '#000000',
  },
}
SCSS
$custom: #2720a0;
$custom-light: #765fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2720a0",
  "rgb": {
    "r": 39,
    "g": 32,
    "b": 160
  },
  "hsl": {
    "h": 243.281,
    "s": 66.667,
    "l": 37.647
  },
  "oklch": {
    "l": 0.36182,
    "c": 0.19349,
    "h": 273.3
  },
  "luminance": 0.04002
}

Semantic roles & 50–950 ramp

primary
#2720A0
secondary
#BDC359
accent
#EA3EE0
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2720A0

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

Preview Lab → · Contrast checker → · Palette generator →

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