#2729B3#2729B3

#2729B3 is a dark, highly saturated blue. Relative luminance 0.053; OKLCH L 39.5% C 0.208 H 271.1°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#2729B3
RGBrgb(39, 41, 179)
HSLhsl(239, 64%, 43%)
HSVhsv(239, 78%, 70%)
CMYKcmyk(78.2%, 77.1%, 0%, 29.8%)
CIE-LABlab(27.49, 46.70, -71.91)
CIE-LCHlch(27.49, 85.74, 303.00°)
OKLaboklab(39.49% 0.004 -0.2082)
OKLCHoklch(39.49% 0.208 271.1)
XYZxyz(9.7636, 5.2708, 43.1419)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2729B3 #B3B127
analogous
#276FB3 #2729B3 #6B27B3
triadic
#2729B3 #B32729 #29B327
tetradic
#2729B3 #B3276F #B3B127 #27B36B
square
#2729B3 #B3276F #B3B127 #27B36B
split-complementary
#2729B3 #B36B27 #6FB327
monochromatic
#11124E #1C1D81 #2729B3 #4144D6 #7475E1

Accessibility & contrast

On white

10.22
#2729B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2729B3
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2729B3#FFFFFF#000000##FFFFFF
##2729B31.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B7
Deuteranopia (green-blind)
#003AB1
Tritanopia (blue-blind)
#00536D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2729b3;
/* rgb */ color: rgb(39, 41, 179);
/* oklch */ color: oklch(39.5% 0.208 271.1);
Tailwind
colors: {
  custom: {
    50: '#7a65cb',
    500: '#2729b3',
    950: '#000000',
  },
}
SCSS
$custom: #2729b3;
$custom-light: #7a65cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2729b3",
  "rgb": {
    "r": 39,
    "g": 41,
    "b": 179
  },
  "hsl": {
    "h": 239.143,
    "s": 64.22,
    "l": 42.745
  },
  "oklch": {
    "l": 0.3949,
    "c": 0.20825,
    "h": 271.1
  },
  "luminance": 0.05272
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2729B3

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

Preview Lab → · Contrast checker → · Palette generator →

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