#2729AE#2729AE

#2729AE is a dark, highly saturated blue. Relative luminance 0.051; OKLCH L 38.9% C 0.202 H 271.4°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#2729AE
RGBrgb(39, 41, 174)
HSLhsl(239, 63%, 42%)
HSVhsv(239, 78%, 68%)
CMYKcmyk(77.6%, 76.4%, 0%, 31.8%)
CIE-LABlab(26.94, 45.04, -69.83)
CIE-LCHlch(26.94, 83.10, 302.82°)
OKLaboklab(38.94% 0.0049 -0.2022)
OKLCHoklch(38.94% 0.202 271.4)
XYZxyz(9.2670, 5.0722, 40.5268)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2729AE #AEAC27
analogous
#276DAE #2729AE #6927AE
triadic
#2729AE #AE2729 #29AE27
tetradic
#2729AE #AE276D #AEAC27 #27AE69
square
#2729AE #AE276D #AEAC27 #27AE69
split-complementary
#2729AE #AE6927 #6DAE27
monochromatic
#11114A #1C1D7C #2729AE #3E41D4 #7072DF

Accessibility & contrast

On white

10.42
#2729AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#2729AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2729AE
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2729AE#FFFFFF#000000##FFFFFF
##2729AE1.0010.422.0110.42
#FFFFFF10.421.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B2
Deuteranopia (green-blind)
#0039AC
Tritanopia (blue-blind)
#00516A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2729ae;
/* rgb */ color: rgb(39, 41, 174);
/* oklch */ color: oklch(38.9% 0.202 271.4);
Tailwind
colors: {
  custom: {
    50: '#7965c7',
    500: '#2729ae',
    950: '#000000',
  },
}
SCSS
$custom: #2729ae;
$custom-light: #7965c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2729ae",
  "rgb": {
    "r": 39,
    "g": 41,
    "b": 174
  },
  "hsl": {
    "h": 239.111,
    "s": 63.38,
    "l": 41.765
  },
  "oklch": {
    "l": 0.38937,
    "c": 0.20224,
    "h": 271.4
  },
  "luminance": 0.05073
}

Semantic roles & 50–950 ramp

primary
#2729AE
secondary
#C6C56B
accent
#E441E6
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2729AE

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

Preview Lab → · Contrast checker → · Palette generator →

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