#2724A6#2724A6

#2724A6 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.4% C 0.197 H 272.4°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#2724A6
RGBrgb(39, 36, 166)
HSLhsl(241, 64%, 40%)
HSVhsv(241, 78%, 65%)
CMYKcmyk(76.5%, 78.3%, 0%, 34.9%)
CIE-LABlab(25.09, 45.13, -68.07)
CIE-LCHlch(25.09, 81.67, 303.55°)
OKLaboklab(37.37% 0.0084 -0.197)
OKLCHoklch(37.37% 0.197 272.4)
XYZxyz(8.3482, 4.4454, 36.4871)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2724A6 #A3A624
analogous
#2462A6 #2724A6 #6824A6
triadic
#2724A6 #A62724 #24A627
tetradic
#2724A6 #A62462 #A3A624 #24A668
square
#2724A6 #A62462 #A3A624 #24A668
split-complementary
#2724A6 #A66824 #62A624
monochromatic
#0F0E41 #1B1974 #2724A6 #3834D3 #6966DE

Accessibility & contrast

On white

11.12
#2724A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2724A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2724A6
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2724A6#FFFFFF#000000##FFFFFF
##2724A61.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042AA
Deuteranopia (green-blind)
#0035A4
Tritanopia (blue-blind)
#004B64
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2724a6;
/* rgb */ color: rgb(39, 36, 166);
/* oklch */ color: oklch(37.4% 0.197 272.4);
Tailwind
colors: {
  custom: {
    50: '#7861c2',
    500: '#2724a6',
    950: '#000000',
  },
}
SCSS
$custom: #2724a6;
$custom-light: #7861c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2724a6",
  "rgb": {
    "r": 39,
    "g": 36,
    "b": 166
  },
  "hsl": {
    "h": 241.385,
    "s": 64.356,
    "l": 39.608
  },
  "oklch": {
    "l": 0.37374,
    "c": 0.19718,
    "h": 272.4
  },
  "luminance": 0.04446
}

Semantic roles & 50–950 ramp

primary
#2724A6
secondary
#C1C462
accent
#E740E4
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0A0513
muted
#7C7982

Preview Lab

Preview with #2724A6

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

Preview Lab → · Contrast checker → · Palette generator →

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