#2724BB#2724BB

#2724BB is a dark, highly saturated blue. Relative luminance 0.053; OKLCH L 39.8% C 0.222 H 271.0°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#2724BB
RGBrgb(39, 36, 187)
HSLhsl(241, 68%, 44%)
HSVhsv(241, 81%, 73%)
CMYKcmyk(79.1%, 80.7%, 0%, 26.7%)
CIE-LABlab(27.52, 51.84, -76.63)
CIE-LCHlch(27.52, 92.51, 304.08°)
OKLaboklab(39.77% 0.0039 -0.2218)
OKLCHoklch(39.77% 0.222 271)
XYZxyz(10.4342, 5.2798, 47.4732)
Luminance0.0528 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2724BB #B8BB24
analogous
#246CBB #2724BB #7224BB
triadic
#2724BB #BB2724 #24BB27
tetradic
#2724BB #BB246C #B8BB24 #24BB72
square
#2724BB #BB246C #B8BB24 #24BB72
split-complementary
#2724BB #BB7224 #6CBB24
monochromatic
#121054 #1C1A88 #2724BB #4542DB #7775E4

Accessibility & contrast

On white

10.21
#2724BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#2724BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2724BB
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2724BB#FFFFFF#000000##FFFFFF
##2724BB1.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048BF
Deuteranopia (green-blind)
#0039B8
Tritanopia (blue-blind)
#005470
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2724bb;
/* rgb */ color: rgb(39, 36, 187);
/* oklch */ color: oklch(39.8% 0.222 271.0);
Tailwind
colors: {
  custom: {
    50: '#7d63d1',
    500: '#2724bb',
    950: '#000000',
  },
}
SCSS
$custom: #2724bb;
$custom-light: #7d63d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2724bb",
  "rgb": {
    "r": 39,
    "g": 36,
    "b": 187
  },
  "hsl": {
    "h": 241.192,
    "s": 67.713,
    "l": 43.725
  },
  "oklch": {
    "l": 0.39774,
    "c": 0.22184,
    "h": 271
  },
  "luminance": 0.05281
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2724BB

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

Preview Lab → · Contrast checker → · Palette generator →

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