#2729BD#2729BD

#2729BD is a dark, highly saturated blue. Relative luminance 0.057; OKLCH L 40.6% C 0.220 H 270.5°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#2729BD
RGBrgb(39, 41, 189)
HSLhsl(239, 66%, 45%)
HSVhsv(239, 79%, 74%)
CMYKcmyk(79.4%, 78.3%, 0%, 25.9%)
CIE-LABlab(28.62, 49.95, -75.99)
CIE-LCHlch(28.62, 90.93, 303.32°)
OKLaboklab(40.61% 0.0021 -0.22)
OKLCHoklch(40.61% 0.22 270.5)
XYZxyz(10.8118, 5.6901, 48.6627)
Luminance0.0569 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2729BD #BDBB27
analogous
#2774BD #2729BD #7027BD
triadic
#2729BD #BD2729 #29BD27
tetradic
#2729BD #BD2774 #BDBB27 #27BD70
square
#2729BD #BD2774 #BDBB27 #27BD70
split-complementary
#2729BD #BD7027 #74BD27
monochromatic
#121358 #1D1E8A #2729BD #484AD9 #7B7CE4

Accessibility & contrast

On white

9.82
#2729BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#2729BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2729BD
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2729BD#FFFFFF#000000##FFFFFF
##2729BD1.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BC1
Deuteranopia (green-blind)
#003CBA
Tritanopia (blue-blind)
#005673
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2729bd;
/* rgb */ color: rgb(39, 41, 189);
/* oklch */ color: oklch(40.6% 0.220 270.5);
Tailwind
colors: {
  custom: {
    50: '#7d66d2',
    500: '#2729bd',
    950: '#000000',
  },
}
SCSS
$custom: #2729bd;
$custom-light: #7d66d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2729bd",
  "rgb": {
    "r": 39,
    "g": 41,
    "b": 189
  },
  "hsl": {
    "h": 239.2,
    "s": 65.789,
    "l": 44.706
  },
  "oklch": {
    "l": 0.40609,
    "c": 0.22005,
    "h": 270.5
  },
  "luminance": 0.05691
}

Semantic roles & 50–950 ramp

primary
#2729BD
secondary
#CCCB74
accent
#E63FE9
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #2729BD

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

Preview Lab → · Contrast checker → · Palette generator →

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