#2729B2#2729B2

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

Color values

HEX#2729B2
RGBrgb(39, 41, 178)
HSLhsl(239, 64%, 43%)
HSVhsv(239, 78%, 70%)
CMYKcmyk(78.1%, 77%, 0%, 30.2%)
CIE-LABlab(27.38, 46.37, -71.50)
CIE-LCHlch(27.38, 85.22, 302.97°)
OKLaboklab(39.38% 0.0042 -0.207)
OKLCHoklch(39.38% 0.207 271.2)
XYZxyz(9.6628, 5.2305, 42.6112)
Luminance0.0523 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2729B2 #B2B027
analogous
#276EB2 #2729B2 #6B27B2
triadic
#2729B2 #B22729 #29B227
tetradic
#2729B2 #B2276E #B2B027 #27B26B
square
#2729B2 #B2276E #B2B027 #27B26B
split-complementary
#2729B2 #B26B27 #6EB227
monochromatic
#11124E #1C1D80 #2729B2 #4143D5 #7375E0

Accessibility & contrast

On white

10.26
#2729B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#2729B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2729B2
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2729B2#FFFFFF#000000##FFFFFF
##2729B21.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B6
Deuteranopia (green-blind)
#003AB0
Tritanopia (blue-blind)
#00526C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2729b2;
/* rgb */ color: rgb(39, 41, 178);
/* oklch */ color: oklch(39.4% 0.207 271.2);
Tailwind
colors: {
  custom: {
    50: '#7a65ca',
    500: '#2729b2',
    950: '#000000',
  },
}
SCSS
$custom: #2729b2;
$custom-light: #7a65ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2729b2",
  "rgb": {
    "r": 39,
    "g": 41,
    "b": 178
  },
  "hsl": {
    "h": 239.137,
    "s": 64.055,
    "l": 42.549
  },
  "oklch": {
    "l": 0.39379,
    "c": 0.20705,
    "h": 271.2
  },
  "luminance": 0.05232
}

Semantic roles & 50–950 ramp

primary
#2729B2
secondary
#C8C66D
accent
#E541E7
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2729B2

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

Preview Lab → · Contrast checker → · Palette generator →

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