#2724A2#2724A2

#2724A2 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.9% C 0.192 H 272.7°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#2724A2
RGBrgb(39, 36, 162)
HSLhsl(241, 64%, 39%)
HSVhsv(241, 78%, 64%)
CMYKcmyk(75.9%, 77.8%, 0%, 36.5%)
CIE-LABlab(24.64, 43.82, -66.39)
CIE-LCHlch(24.64, 79.55, 303.43°)
OKLaboklab(36.93% 0.0092 -0.1921)
OKLCHoklch(36.93% 0.192 272.7)
XYZxyz(7.9870, 4.3009, 34.5846)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2724A2 #9FA224
analogous
#2460A2 #2724A2 #6624A2
triadic
#2724A2 #A22724 #24A227
tetradic
#2724A2 #A22460 #9FA224 #24A266
square
#2724A2 #A22460 #9FA224 #24A266
split-complementary
#2724A2 #A26624 #60A224
monochromatic
#0F0E3E #1B1970 #2724A2 #3632D1 #6764DD

Accessibility & contrast

On white

11.29
#2724A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2724A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2724A2
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2724A2#FFFFFF#000000##FFFFFF
##2724A21.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A6
Deuteranopia (green-blind)
#0034A0
Tritanopia (blue-blind)
#004A62
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2724a2;
/* rgb */ color: rgb(39, 36, 162);
/* oklch */ color: oklch(36.9% 0.192 272.7);
Tailwind
colors: {
  custom: {
    50: '#7761bf',
    500: '#2724a2',
    950: '#000000',
  },
}
SCSS
$custom: #2724a2;
$custom-light: #7761bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2724a2",
  "rgb": {
    "r": 39,
    "g": 36,
    "b": 162
  },
  "hsl": {
    "h": 241.429,
    "s": 63.636,
    "l": 38.824
  },
  "oklch": {
    "l": 0.36926,
    "c": 0.19234,
    "h": 272.7
  },
  "luminance": 0.04302
}

Semantic roles & 50–950 ramp

primary
#2724A2
secondary
#C0C260
accent
#E741E3
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2724A2

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

Preview Lab → · Contrast checker → · Palette generator →

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