#2729BA#2729BA

#2729BA is a dark, highly saturated blue. Relative luminance 0.056; OKLCH L 40.3% C 0.217 H 270.7°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#2729BA
RGBrgb(39, 41, 186)
HSLhsl(239, 65%, 44%)
HSVhsv(239, 79%, 73%)
CMYKcmyk(79%, 78%, 0%, 27.1%)
CIE-LABlab(28.28, 48.98, -74.77)
CIE-LCHlch(28.28, 89.39, 303.23°)
OKLaboklab(40.27% 0.0027 -0.2165)
OKLCHoklch(40.27% 0.217 270.7)
XYZxyz(10.4896, 5.5612, 46.9654)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2729BA #BAB827
analogous
#2773BA #2729BA #6F27BA
triadic
#2729BA #BA2729 #29BA27
tetradic
#2729BA #BA2773 #BAB827 #27BA6F
square
#2729BA #BA2773 #BAB827 #27BA6F
split-complementary
#2729BA #BA6F27 #73BA27
monochromatic
#121355 #1C1E87 #2729BA #4648D8 #797AE3

Accessibility & contrast

On white

9.94
#2729BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#2729BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2729BA
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2729BA#FFFFFF#000000##FFFFFF
##2729BA1.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004ABE
Deuteranopia (green-blind)
#003BB8
Tritanopia (blue-blind)
#005571
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2729ba;
/* rgb */ color: rgb(39, 41, 186);
/* oklch */ color: oklch(40.3% 0.217 270.7);
Tailwind
colors: {
  custom: {
    50: '#7c65d0',
    500: '#2729ba',
    950: '#000000',
  },
}
SCSS
$custom: #2729ba;
$custom-light: #7c65d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2729ba",
  "rgb": {
    "r": 39,
    "g": 41,
    "b": 186
  },
  "hsl": {
    "h": 239.184,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.40272,
    "c": 0.21654,
    "h": 270.7
  },
  "luminance": 0.05562
}

Semantic roles & 50–950 ramp

primary
#2729BA
secondary
#CBC972
accent
#E640E8
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #2729BA

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

Preview Lab → · Contrast checker → · Palette generator →

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