#2720BC#2720BC

#2720BC is a dark, highly saturated blue. Relative luminance 0.051; OKLCH L 39.5% C 0.226 H 271.2°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#2720BC
RGBrgb(39, 32, 188)
HSLhsl(243, 71%, 43%)
HSVhsv(243, 83%, 74%)
CMYKcmyk(79.3%, 83%, 0%, 26.3%)
CIE-LABlab(27.00, 54.01, -78.08)
CIE-LCHlch(27.00, 94.94, 304.67°)
OKLaboklab(39.45% 0.0046 -0.2259)
OKLCHoklch(39.45% 0.226 271.2)
XYZxyz(10.4272, 5.0940, 48.0009)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2720BC #B5BC20
analogous
#2067BC #2720BC #7520BC
triadic
#2720BC #BC2720 #20BC27
tetradic
#2720BC #BC2067 #B5BC20 #20BC75
square
#2720BC #BC2067 #B5BC20 #20BC75
split-complementary
#2720BC #BC7520 #67BC20
monochromatic
#110E53 #1C1788 #2720BC #433BDE #7570E7

Accessibility & contrast

On white

10.40
#2720BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#2720BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2720BC#FFFFFF#000000##FFFFFF
##2720BC1.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047C0
Deuteranopia (green-blind)
#0038B9
Tritanopia (blue-blind)
#005370
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2720bc;
/* rgb */ color: rgb(39, 32, 188);
/* oklch */ color: oklch(39.5% 0.226 271.2);
Tailwind
colors: {
  custom: {
    50: '#7d61d2',
    500: '#2720bc',
    950: '#000000',
  },
}
SCSS
$custom: #2720bc;
$custom-light: #7d61d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2720bc",
  "rgb": {
    "r": 39,
    "g": 32,
    "b": 188
  },
  "hsl": {
    "h": 242.692,
    "s": 70.909,
    "l": 43.137
  },
  "oklch": {
    "l": 0.3945,
    "c": 0.22599,
    "h": 271.2
  },
  "luminance": 0.05095
}

Semantic roles & 50–950 ramp

primary
#2720BC
secondary
#C9CD6B
accent
#EE3AE6
background
#F8F5FD
surface
#F0EAFA
border
#CBC6D3
text
#0C0514
muted
#7D7983

Preview Lab

Preview with #2720BC

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

Preview Lab → · Contrast checker → · Palette generator →

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