#2724A4#2724A4

#2724A4 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.1% C 0.195 H 272.6°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#2724A4
RGBrgb(39, 36, 164)
HSLhsl(241, 64%, 39%)
HSVhsv(241, 78%, 64%)
CMYKcmyk(76.2%, 78%, 0%, 35.7%)
CIE-LABlab(24.87, 44.48, -67.23)
CIE-LCHlch(24.87, 80.61, 303.49°)
OKLaboklab(37.15% 0.0088 -0.1946)
OKLCHoklch(37.15% 0.195 272.6)
XYZxyz(8.1662, 4.3726, 35.5284)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2724A4 #A1A424
analogous
#2461A4 #2724A4 #6724A4
triadic
#2724A4 #A42724 #24A427
tetradic
#2724A4 #A42461 #A1A424 #24A467
square
#2724A4 #A42461 #A1A424 #24A467
split-complementary
#2724A4 #A46724 #61A424
monochromatic
#0F0E40 #1B1972 #2724A4 #3733D2 #6865DD

Accessibility & contrast

On white

11.20
#2724A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2724A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2724A4
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2724A4#FFFFFF#000000##FFFFFF
##2724A41.0011.201.8711.20
#FFFFFF11.201.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A8
Deuteranopia (green-blind)
#0035A2
Tritanopia (blue-blind)
#004B63
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2724a4;
/* rgb */ color: rgb(39, 36, 164);
/* oklch */ color: oklch(37.1% 0.195 272.6);
Tailwind
colors: {
  custom: {
    50: '#7761c0',
    500: '#2724a4',
    950: '#000000',
  },
}
SCSS
$custom: #2724a4;
$custom-light: #7761c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2724a4",
  "rgb": {
    "r": 39,
    "g": 36,
    "b": 164
  },
  "hsl": {
    "h": 241.406,
    "s": 64,
    "l": 39.216
  },
  "oklch": {
    "l": 0.3715,
    "c": 0.19477,
    "h": 272.6
  },
  "luminance": 0.04373
}

Semantic roles & 50–950 ramp

primary
#2724A4
secondary
#C0C361
accent
#E741E3
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2724A4

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

Preview Lab → · Contrast checker → · Palette generator →

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