#2720B3#2720B3

#2720B3 is a dark, highly saturated blue. Relative luminance 0.047; OKLCH L 38.4% C 0.216 H 271.8°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#2720B3
RGBrgb(39, 32, 179)
HSLhsl(243, 70%, 41%)
HSVhsv(243, 82%, 70%)
CMYKcmyk(78.2%, 82.1%, 0%, 29.8%)
CIE-LABlab(25.92, 51.27, -74.52)
CIE-LCHlch(25.92, 90.45, 304.52°)
OKLaboklab(38.39% 0.0067 -0.2156)
OKLCHoklch(38.39% 0.216 271.8)
XYZxyz(9.4872, 4.7180, 43.0497)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2720B3 #ACB320
analogous
#2063B3 #2720B3 #7120B3
triadic
#2720B3 #B32720 #20B327
tetradic
#2720B3 #B32063 #ACB320 #20B371
square
#2720B3 #B32063 #ACB320 #20B371
split-complementary
#2720B3 #B37120 #63B320
monochromatic
#100D4B #1C177F #2720B3 #3D35DB #6F69E4

Accessibility & contrast

On white

10.80
#2720B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#2720B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2720B3
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2720B3#FFFFFF#000000##FFFFFF
##2720B31.0010.801.9410.80
#FFFFFF10.801.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B7
Deuteranopia (green-blind)
#0036B1
Tritanopia (blue-blind)
#004F6B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2720b3;
/* rgb */ color: rgb(39, 32, 179);
/* oklch */ color: oklch(38.4% 0.216 271.8);
Tailwind
colors: {
  custom: {
    50: '#7b60cb',
    500: '#2720b3',
    950: '#000000',
  },
}
SCSS
$custom: #2720b3;
$custom-light: #7b60cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2720b3",
  "rgb": {
    "r": 39,
    "g": 32,
    "b": 179
  },
  "hsl": {
    "h": 242.857,
    "s": 69.668,
    "l": 41.373
  },
  "oklch": {
    "l": 0.38388,
    "c": 0.21575,
    "h": 271.8
  },
  "luminance": 0.04719
}

Semantic roles & 50–950 ramp

primary
#2720B3
secondary
#C5CA65
accent
#EC3BE4
background
#F8F5FC
surface
#EFEAF9
border
#CAC6D2
text
#0B0514
muted
#7C7982

Preview Lab

Preview with #2720B3

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

Preview Lab → · Contrast checker → · Palette generator →

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