#2724C1#2724C1

#2724C1 is a dark, highly saturated blue. Relative luminance 0.055; OKLCH L 40.5% C 0.229 H 270.6°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#2724C1
RGBrgb(39, 36, 193)
HSLhsl(241, 69%, 45%)
HSVhsv(241, 81%, 76%)
CMYKcmyk(79.8%, 81.3%, 0%, 24.3%)
CIE-LABlab(28.23, 53.69, -79.00)
CIE-LCHlch(28.23, 95.52, 304.20°)
OKLaboklab(40.47% 0.0026 -0.2287)
OKLCHoklch(40.47% 0.229 270.6)
XYZxyz(11.0900, 5.5421, 50.9270)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2724C1 #BEC124
analogous
#2470C1 #2724C1 #7524C1
triadic
#2724C1 #C12724 #24C127
tetradic
#2724C1 #C12470 #BEC124 #24C175
square
#2724C1 #C12470 #BEC124 #24C175
split-complementary
#2724C1 #C17524 #70C124
monochromatic
#12115A #1D1A8D #2724C1 #4946DC #7B79E6

Accessibility & contrast

On white

9.96
#2724C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#2724C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2724C1
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2724C1#FFFFFF#000000##FFFFFF
##2724C11.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AC5
Deuteranopia (green-blind)
#003ABE
Tritanopia (blue-blind)
#005674
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2724c1;
/* rgb */ color: rgb(39, 36, 193);
/* oklch */ color: oklch(40.5% 0.229 270.6);
Tailwind
colors: {
  custom: {
    50: '#7e63d5',
    500: '#2724c1',
    950: '#000000',
  },
}
SCSS
$custom: #2724c1;
$custom-light: #7e63d5;
$custom-dark: #000000;
JSON
{
  "hex": "#2724c1",
  "rgb": {
    "r": 39,
    "g": 36,
    "b": 193
  },
  "hsl": {
    "h": 241.146,
    "s": 68.559,
    "l": 44.902
  },
  "oklch": {
    "l": 0.40471,
    "c": 0.22868,
    "h": 270.6
  },
  "luminance": 0.05543
}

Semantic roles & 50–950 ramp

primary
#2724C1
secondary
#CCCE73
accent
#EB3CE8
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0514
muted
#7D7A83

Preview Lab

Preview with #2724C1

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

Preview Lab → · Contrast checker → · Palette generator →

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