#2724C5#2724C5

#2724C5 is a dark, highly saturated blue. Relative luminance 0.057; OKLCH L 40.9% C 0.233 H 270.4°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#2724C5
RGBrgb(39, 36, 197)
HSLhsl(241, 69%, 46%)
HSVhsv(241, 82%, 77%)
CMYKcmyk(80.2%, 81.7%, 0%, 22.7%)
CIE-LABlab(28.70, 54.92, -80.56)
CIE-LCHlch(28.70, 97.50, 304.28°)
OKLaboklab(40.94% 0.0017 -0.2332)
OKLCHoklch(40.94% 0.233 270.4)
XYZxyz(11.5422, 5.7230, 53.3088)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2724C5 #C2C524
analogous
#2471C5 #2724C5 #7724C5
triadic
#2724C5 #C52724 #24C527
tetradic
#2724C5 #C52471 #C2C524 #24C577
square
#2724C5 #C52471 #C2C524 #24C577
split-complementary
#2724C5 #C57724 #71C524
monochromatic
#13115E #1D1B91 #2724C5 #4B49DE #7E7CE7

Accessibility & contrast

On white

9.79
#2724C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#2724C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2724C5
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2724C5#FFFFFF#000000##FFFFFF
##2724C51.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CC9
Deuteranopia (green-blind)
#003BC2
Tritanopia (blue-blind)
#005876
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2724c5;
/* rgb */ color: rgb(39, 36, 197);
/* oklch */ color: oklch(40.9% 0.233 270.4);
Tailwind
colors: {
  custom: {
    50: '#7f63d8',
    500: '#2724c5',
    950: '#000000',
  },
}
SCSS
$custom: #2724c5;
$custom-light: #7f63d8;
$custom-dark: #000000;
JSON
{
  "hex": "#2724c5",
  "rgb": {
    "r": 39,
    "g": 36,
    "b": 197
  },
  "hsl": {
    "h": 241.118,
    "s": 69.099,
    "l": 45.686
  },
  "oklch": {
    "l": 0.40938,
    "c": 0.2332,
    "h": 270.4
  },
  "luminance": 0.05724
}

Semantic roles & 50–950 ramp

primary
#2724C5
secondary
#CECF76
accent
#EC3CE9
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0615
muted
#7D7A83

Preview Lab

Preview with #2724C5

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

Preview Lab → · Contrast checker → · Palette generator →

#2724C5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva