#2724BD#2724BD

#2724BD is a dark, highly saturated blue. Relative luminance 0.054; OKLCH L 40.0% C 0.224 H 270.9°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#2724BD
RGBrgb(39, 36, 189)
HSLhsl(241, 68%, 44%)
HSVhsv(241, 81%, 74%)
CMYKcmyk(79.4%, 81%, 0%, 25.9%)
CIE-LABlab(27.75, 52.46, -77.42)
CIE-LCHlch(27.75, 93.52, 304.12°)
OKLaboklab(40.01% 0.0034 -0.2241)
OKLCHoklch(40.01% 0.224 270.9)
XYZxyz(10.6498, 5.3660, 48.6087)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2724BD #BABD24
analogous
#246EBD #2724BD #7324BD
triadic
#2724BD #BD2724 #24BD27
tetradic
#2724BD #BD246E #BABD24 #24BD73
square
#2724BD #BD246E #BABD24 #24BD73
split-complementary
#2724BD #BD7324 #6EBD24
monochromatic
#121056 #1C1A8A #2724BD #4643DB #7976E5

Accessibility & contrast

On white

10.13
#2724BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#2724BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2724BD
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2724BD#FFFFFF#000000##FFFFFF
##2724BD1.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049C1
Deuteranopia (green-blind)
#003ABA
Tritanopia (blue-blind)
#005572
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2724bd;
/* rgb */ color: rgb(39, 36, 189);
/* oklch */ color: oklch(40.0% 0.224 270.9);
Tailwind
colors: {
  custom: {
    50: '#7d63d2',
    500: '#2724bd',
    950: '#000000',
  },
}
SCSS
$custom: #2724bd;
$custom-light: #7d63d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2724bd",
  "rgb": {
    "r": 39,
    "g": 36,
    "b": 189
  },
  "hsl": {
    "h": 241.176,
    "s": 68,
    "l": 44.118
  },
  "oklch": {
    "l": 0.40006,
    "c": 0.22414,
    "h": 270.9
  },
  "luminance": 0.05367
}

Semantic roles & 50–950 ramp

primary
#2724BD
secondary
#CBCC70
accent
#EB3DE7
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0514
muted
#7D7A83

Preview Lab

Preview with #2724BD

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

Preview Lab → · Contrast checker → · Palette generator →

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