#2729AC#2729AC

#2729AC is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.7% C 0.200 H 271.5°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#2729AC
RGBrgb(39, 41, 172)
HSLhsl(239, 63%, 41%)
HSVhsv(239, 77%, 67%)
CMYKcmyk(77.3%, 76.2%, 0%, 32.5%)
CIE-LABlab(26.72, 44.38, -68.99)
CIE-LCHlch(26.72, 82.03, 302.75°)
OKLaboklab(38.72% 0.0053 -0.1997)
OKLCHoklch(38.72% 0.2 271.5)
XYZxyz(9.0735, 4.9948, 39.5076)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2729AC #ACAA27
analogous
#276CAC #2729AC #6827AC
triadic
#2729AC #AC2729 #29AC27
tetradic
#2729AC #AC276C #ACAA27 #27AC68
square
#2729AC #AC276C #ACAA27 #27AC68
split-complementary
#2729AC #AC6827 #6CAC27
monochromatic
#101148 #1C1D7A #2729AC #3D3FD3 #6F71DE

Accessibility & contrast

On white

10.50
#2729AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#2729AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2729AC
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2729AC#FFFFFF#000000##FFFFFF
##2729AC1.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B0
Deuteranopia (green-blind)
#0038AA
Tritanopia (blue-blind)
#005069
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2729ac;
/* rgb */ color: rgb(39, 41, 172);
/* oklch */ color: oklch(38.7% 0.200 271.5);
Tailwind
colors: {
  custom: {
    50: '#7965c6',
    500: '#2729ac',
    950: '#000000',
  },
}
SCSS
$custom: #2729ac;
$custom-light: #7965c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2729ac",
  "rgb": {
    "r": 39,
    "g": 41,
    "b": 172
  },
  "hsl": {
    "h": 239.098,
    "s": 63.033,
    "l": 41.373
  },
  "oklch": {
    "l": 0.38717,
    "c": 0.19982,
    "h": 271.5
  },
  "luminance": 0.04996
}

Semantic roles & 50–950 ramp

primary
#2729AC
secondary
#C5C46A
accent
#E442E6
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2729AC

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

Preview Lab → · Contrast checker → · Palette generator →

#2729AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva