#2720B0#2720B0

#2720B0 is a dark, highly saturated blue. Relative luminance 0.046; OKLCH L 38.0% C 0.212 H 272.0°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#2720B0
RGBrgb(39, 32, 176)
HSLhsl(243, 69%, 41%)
HSVhsv(243, 82%, 69%)
CMYKcmyk(77.8%, 81.8%, 0%, 31%)
CIE-LABlab(25.56, 50.34, -73.32)
CIE-LCHlch(25.56, 88.94, 304.47°)
OKLaboklab(38.04% 0.0074 -0.2122)
OKLCHoklch(38.04% 0.212 272)
XYZxyz(9.1871, 4.5979, 41.4692)
Luminance0.0460 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2720B0 #A9B020
analogous
#2061B0 #2720B0 #6F20B0
triadic
#2720B0 #B02720 #20B027
tetradic
#2720B0 #B02061 #A9B020 #20B06F
square
#2720B0 #B02061 #A9B020 #20B06F
split-complementary
#2720B0 #B06F20 #61B020
monochromatic
#100D48 #1C177C #2720B0 #3B33DA #6D67E3

Accessibility & contrast

On white

10.94
#2720B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#2720B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2720B0
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2720B0#FFFFFF#000000##FFFFFF
##2720B01.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043B4
Deuteranopia (green-blind)
#0035AE
Tritanopia (blue-blind)
#004E69
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2720b0;
/* rgb */ color: rgb(39, 32, 176);
/* oklch */ color: oklch(38.0% 0.212 272.0);
Tailwind
colors: {
  custom: {
    50: '#7a60c9',
    500: '#2720b0',
    950: '#000000',
  },
}
SCSS
$custom: #2720b0;
$custom-light: #7a60c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2720b0",
  "rgb": {
    "r": 39,
    "g": 32,
    "b": 176
  },
  "hsl": {
    "h": 242.917,
    "s": 69.231,
    "l": 40.784
  },
  "oklch": {
    "l": 0.38036,
    "c": 0.21231,
    "h": 272
  },
  "luminance": 0.04599
}

Semantic roles & 50–950 ramp

primary
#2720B0
secondary
#C4C963
accent
#EC3CE3
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2720B0

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

Preview Lab → · Contrast checker → · Palette generator →

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