#2720BD#2720BD

#2720BD is a dark, highly saturated blue. Relative luminance 0.051; OKLCH L 39.6% C 0.227 H 271.1°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#2720BD
RGBrgb(39, 32, 189)
HSLhsl(243, 71%, 43%)
HSVhsv(243, 83%, 74%)
CMYKcmyk(79.4%, 83.1%, 0%, 25.9%)
CIE-LABlab(27.12, 54.31, -78.47)
CIE-LCHlch(27.12, 95.43, 304.69°)
OKLaboklab(39.57% 0.0043 -0.2271)
OKLCHoklch(39.57% 0.227 271.1)
XYZxyz(10.5354, 5.1373, 48.5706)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2720BD #B6BD20
analogous
#2067BD #2720BD #7520BD
triadic
#2720BD #BD2720 #20BD27
tetradic
#2720BD #BD2067 #B6BD20 #20BD75
square
#2720BD #BD2067 #B6BD20 #20BD75
split-complementary
#2720BD #BD7520 #67BD20
monochromatic
#110E54 #1C1789 #2720BD #433CDE #7671E7

Accessibility & contrast

On white

10.36
#2720BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#2720BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2720BD#FFFFFF#000000##FFFFFF
##2720BD1.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048C1
Deuteranopia (green-blind)
#0038BA
Tritanopia (blue-blind)
#005371
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2720bd;
/* rgb */ color: rgb(39, 32, 189);
/* oklch */ color: oklch(39.6% 0.227 271.1);
Tailwind
colors: {
  custom: {
    50: '#7e61d2',
    500: '#2720bd',
    950: '#000000',
  },
}
SCSS
$custom: #2720bd;
$custom-light: #7e61d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2720bd",
  "rgb": {
    "r": 39,
    "g": 32,
    "b": 189
  },
  "hsl": {
    "h": 242.675,
    "s": 71.041,
    "l": 43.333
  },
  "oklch": {
    "l": 0.39569,
    "c": 0.22711,
    "h": 271.1
  },
  "luminance": 0.05138
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2720BD

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

Preview Lab → · Contrast checker → · Palette generator →

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