#2729C4#2729C4

#2729C4 is a dark, highly saturated blue. Relative luminance 0.060; OKLCH L 41.4% C 0.228 H 270.2°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#2729C4
RGBrgb(39, 41, 196)
HSLhsl(239, 67%, 46%)
HSVhsv(239, 80%, 77%)
CMYKcmyk(80.1%, 79.1%, 0%, 23.1%)
CIE-LABlab(29.42, 52.19, -78.79)
CIE-LCHlch(29.42, 94.50, 303.52°)
OKLaboklab(41.4% 0.0008 -0.2281)
OKLCHoklch(41.4% 0.228 270.2)
XYZxyz(11.5901, 6.0014, 52.7614)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2729C4 #C4C227
analogous
#2777C4 #2729C4 #7327C4
triadic
#2729C4 #C42729 #29C427
tetradic
#2729C4 #C42777 #C4C227 #27C473
square
#2729C4 #C42777 #C4C227 #27C473
split-complementary
#2729C4 #C47327 #77C427
monochromatic
#13145E #1D1E91 #2729C4 #4D4EDC #8081E6

Accessibility & contrast

On white

9.54
#2729C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#2729C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2729C4
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2729C4#FFFFFF#000000##FFFFFF
##2729C41.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DC8
Deuteranopia (green-blind)
#003DC1
Tritanopia (blue-blind)
#005977
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2729c4;
/* rgb */ color: rgb(39, 41, 196);
/* oklch */ color: oklch(41.4% 0.228 270.2);
Tailwind
colors: {
  custom: {
    50: '#7f66d7',
    500: '#2729c4',
    950: '#000000',
  },
}
SCSS
$custom: #2729c4;
$custom-light: #7f66d7;
$custom-dark: #000000;
JSON
{
  "hex": "#2729c4",
  "rgb": {
    "r": 39,
    "g": 41,
    "b": 196
  },
  "hsl": {
    "h": 239.236,
    "s": 66.809,
    "l": 46.078
  },
  "oklch": {
    "l": 0.41401,
    "c": 0.22815,
    "h": 270.2
  },
  "luminance": 0.06003
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2729C4

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

Preview Lab → · Contrast checker → · Palette generator →

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