#2729C5#2729C5

#2729C5 is a dark, highly saturated blue. Relative luminance 0.060; OKLCH L 41.5% C 0.229 H 270.1°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#2729C5
RGBrgb(39, 41, 197)
HSLhsl(239, 67%, 46%)
HSVhsv(239, 80%, 77%)
CMYKcmyk(80.2%, 79.2%, 0%, 22.7%)
CIE-LABlab(29.53, 52.50, -79.18)
CIE-LCHlch(29.53, 95.01, 303.55°)
OKLaboklab(41.52% 0.0006 -0.2293)
OKLCHoklch(41.52% 0.229 270.1)
XYZxyz(11.7043, 6.0471, 53.3628)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2729C5 #C5C327
analogous
#2778C5 #2729C5 #7427C5
triadic
#2729C5 #C52729 #29C527
tetradic
#2729C5 #C52778 #C5C327 #27C574
square
#2729C5 #C52778 #C5C327 #27C574
split-complementary
#2729C5 #C57427 #78C527
monochromatic
#13145F #1D1E92 #2729C5 #4D4FDC #8082E6

Accessibility & contrast

On white

9.50
#2729C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#2729C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2729C5
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2729C5#FFFFFF#000000##FFFFFF
##2729C51.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DC9
Deuteranopia (green-blind)
#003DC2
Tritanopia (blue-blind)
#005A77
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2729c5;
/* rgb */ color: rgb(39, 41, 197);
/* oklch */ color: oklch(41.5% 0.229 270.1);
Tailwind
colors: {
  custom: {
    50: '#7f66d8',
    500: '#2729c5',
    950: '#000000',
  },
}
SCSS
$custom: #2729c5;
$custom-light: #7f66d8;
$custom-dark: #000000;
JSON
{
  "hex": "#2729c5",
  "rgb": {
    "r": 39,
    "g": 41,
    "b": 197
  },
  "hsl": {
    "h": 239.241,
    "s": 66.949,
    "l": 46.275
  },
  "oklch": {
    "l": 0.41515,
    "c": 0.2293,
    "h": 270.1
  },
  "luminance": 0.06048
}

Semantic roles & 50–950 ramp

primary
#2729C5
secondary
#CFCE79
accent
#E83EEA
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0615
muted
#7D7A83

Preview Lab

Preview with #2729C5

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

Preview Lab → · Contrast checker → · Palette generator →

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