#2729B0#2729B0

#2729B0 is a dark, highly saturated blue. Relative luminance 0.052; OKLCH L 39.2% C 0.205 H 271.3°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#2729B0
RGBrgb(39, 41, 176)
HSLhsl(239, 64%, 42%)
HSVhsv(239, 78%, 69%)
CMYKcmyk(77.8%, 76.7%, 0%, 31%)
CIE-LABlab(27.16, 45.71, -70.67)
CIE-LCHlch(27.16, 84.16, 302.90°)
OKLaboklab(39.16% 0.0046 -0.2046)
OKLCHoklch(39.16% 0.205 271.3)
XYZxyz(9.4635, 5.1508, 41.5613)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2729B0 #B0AE27
analogous
#276EB0 #2729B0 #6A27B0
triadic
#2729B0 #B02729 #29B027
tetradic
#2729B0 #B0276E #B0AE27 #27B06A
square
#2729B0 #B0276E #B0AE27 #27B06A
split-complementary
#2729B0 #B06A27 #6EB027
monochromatic
#11124C #1C1D7E #2729B0 #4042D5 #7273E0

Accessibility & contrast

On white

10.34
#2729B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#2729B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2729B0
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2729B0#FFFFFF#000000##FFFFFF
##2729B01.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B4
Deuteranopia (green-blind)
#0039AE
Tritanopia (blue-blind)
#00516B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2729b0;
/* rgb */ color: rgb(39, 41, 176);
/* oklch */ color: oklch(39.2% 0.205 271.3);
Tailwind
colors: {
  custom: {
    50: '#7a65c9',
    500: '#2729b0',
    950: '#000000',
  },
}
SCSS
$custom: #2729b0;
$custom-light: #7a65c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2729b0",
  "rgb": {
    "r": 39,
    "g": 41,
    "b": 176
  },
  "hsl": {
    "h": 239.124,
    "s": 63.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.39158,
    "c": 0.20465,
    "h": 271.3
  },
  "luminance": 0.05152
}

Semantic roles & 50–950 ramp

primary
#2729B0
secondary
#C7C56C
accent
#E441E7
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2729B0

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

Preview Lab → · Contrast checker → · Palette generator →

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