#2724A8#2724A8

#2724A8 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.6% C 0.200 H 272.3°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#2724A8
RGBrgb(39, 36, 168)
HSLhsl(241, 65%, 40%)
HSVhsv(241, 79%, 66%)
CMYKcmyk(76.8%, 78.6%, 0%, 34.1%)
CIE-LABlab(25.32, 45.79, -68.90)
CIE-LCHlch(25.32, 82.73, 303.60°)
OKLaboklab(37.6% 0.008 -0.1994)
OKLCHoklch(37.6% 0.2 272.3)
XYZxyz(8.5331, 4.5193, 37.4608)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2724A8 #A5A824
analogous
#2463A8 #2724A8 #6924A8
triadic
#2724A8 #A82724 #24A827
tetradic
#2724A8 #A82463 #A5A824 #24A869
square
#2724A8 #A82463 #A5A824 #24A869
split-complementary
#2724A8 #A86924 #63A824
monochromatic
#100E43 #1B1976 #2724A8 #3935D4 #6B68DF

Accessibility & contrast

On white

11.03
#2724A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2724A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2724A8
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2724A8#FFFFFF#000000##FFFFFF
##2724A81.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042AC
Deuteranopia (green-blind)
#0035A6
Tritanopia (blue-blind)
#004C65
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2724a8;
/* rgb */ color: rgb(39, 36, 168);
/* oklch */ color: oklch(37.6% 0.200 272.3);
Tailwind
colors: {
  custom: {
    50: '#7861c3',
    500: '#2724a8',
    950: '#000000',
  },
}
SCSS
$custom: #2724a8;
$custom-light: #7861c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2724a8",
  "rgb": {
    "r": 39,
    "g": 36,
    "b": 168
  },
  "hsl": {
    "h": 241.364,
    "s": 64.706,
    "l": 40
  },
  "oklch": {
    "l": 0.376,
    "c": 0.19959,
    "h": 272.3
  },
  "luminance": 0.0452
}

Semantic roles & 50–950 ramp

primary
#2724A8
secondary
#C2C463
accent
#E840E4
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2724A8

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

Preview Lab → · Contrast checker → · Palette generator →

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