#2724B1#2724B1

#2724B1 is a dark, highly saturated blue. Relative luminance 0.049; OKLCH L 38.6% C 0.210 H 271.6°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#2724B1
RGBrgb(39, 36, 177)
HSLhsl(241, 66%, 42%)
HSVhsv(241, 80%, 69%)
CMYKcmyk(78%, 79.7%, 0%, 30.6%)
CIE-LABlab(26.35, 48.68, -72.60)
CIE-LCHlch(26.35, 87.42, 303.84°)
OKLaboklab(38.62% 0.006 -0.2102)
OKLCHoklch(38.62% 0.21 271.6)
XYZxyz(9.4007, 4.8664, 42.0303)
Luminance0.0487 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2724B1 #AEB124
analogous
#2467B1 #2724B1 #6E24B1
triadic
#2724B1 #B12724 #24B127
tetradic
#2724B1 #B12467 #AEB124 #24B16E
square
#2724B1 #B12467 #AEB124 #24B16E
split-complementary
#2724B1 #B16E24 #67B124
monochromatic
#110F4B #1C1A7E #2724B1 #3E3BD7 #706EE1

Accessibility & contrast

On white

10.64
#2724B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#2724B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2724B1
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2724B1#FFFFFF#000000##FFFFFF
##2724B11.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B5
Deuteranopia (green-blind)
#0037AF
Tritanopia (blue-blind)
#00506B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2724b1;
/* rgb */ color: rgb(39, 36, 177);
/* oklch */ color: oklch(38.6% 0.210 271.6);
Tailwind
colors: {
  custom: {
    50: '#7a62ca',
    500: '#2724b1',
    950: '#000000',
  },
}
SCSS
$custom: #2724b1;
$custom-light: #7a62ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2724b1",
  "rgb": {
    "r": 39,
    "g": 36,
    "b": 177
  },
  "hsl": {
    "h": 241.277,
    "s": 66.197,
    "l": 41.765
  },
  "oklch": {
    "l": 0.38623,
    "c": 0.21025,
    "h": 271.6
  },
  "luminance": 0.04867
}

Semantic roles & 50–950 ramp

primary
#2724B1
secondary
#C6C869
accent
#E93FE5
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2724B1

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

Preview Lab → · Contrast checker → · Palette generator →

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