#2729B1#2729B1

#2729B1 is a dark, highly saturated blue. Relative luminance 0.052; OKLCH L 39.3% C 0.206 H 271.2°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#2729B1
RGBrgb(39, 41, 177)
HSLhsl(239, 64%, 42%)
HSVhsv(239, 78%, 69%)
CMYKcmyk(78%, 76.8%, 0%, 30.6%)
CIE-LABlab(27.27, 46.04, -71.08)
CIE-LCHlch(27.27, 84.69, 302.93°)
OKLaboklab(39.27% 0.0044 -0.2058)
OKLCHoklch(39.27% 0.206 271.2)
XYZxyz(9.5628, 5.1905, 42.0843)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2729B1 #B1AF27
analogous
#276EB1 #2729B1 #6A27B1
triadic
#2729B1 #B12729 #29B127
tetradic
#2729B1 #B1276E #B1AF27 #27B16A
square
#2729B1 #B1276E #B1AF27 #27B16A
split-complementary
#2729B1 #B16A27 #6EB127
monochromatic
#11124D #1C1D7F #2729B1 #4042D5 #7274E0

Accessibility & contrast

On white

10.30
#2729B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#2729B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2729B1
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2729B1#FFFFFF#000000##FFFFFF
##2729B11.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B5
Deuteranopia (green-blind)
#0039AF
Tritanopia (blue-blind)
#00526C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2729b1;
/* rgb */ color: rgb(39, 41, 177);
/* oklch */ color: oklch(39.3% 0.206 271.2);
Tailwind
colors: {
  custom: {
    50: '#7a65ca',
    500: '#2729b1',
    950: '#000000',
  },
}
SCSS
$custom: #2729b1;
$custom-light: #7a65ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2729b1",
  "rgb": {
    "r": 39,
    "g": 41,
    "b": 177
  },
  "hsl": {
    "h": 239.13,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.39269,
    "c": 0.20586,
    "h": 271.2
  },
  "luminance": 0.05192
}

Semantic roles & 50–950 ramp

primary
#2729B1
secondary
#C7C66D
accent
#E441E7
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2729B1

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

Preview Lab → · Contrast checker → · Palette generator →

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