#2729AD#2729AD

#2729AD is a dark, highly saturated blue. Relative luminance 0.050; OKLCH L 38.8% C 0.201 H 271.5°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#2729AD
RGBrgb(39, 41, 173)
HSLhsl(239, 63%, 42%)
HSVhsv(239, 77%, 68%)
CMYKcmyk(77.5%, 76.3%, 0%, 32.2%)
CIE-LABlab(26.83, 44.71, -69.41)
CIE-LCHlch(26.83, 82.57, 302.79°)
OKLaboklab(38.83% 0.0051 -0.201)
OKLCHoklch(38.83% 0.201 271.5)
XYZxyz(9.1699, 5.0333, 40.0153)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2729AD #ADAB27
analogous
#276CAD #2729AD #6827AD
triadic
#2729AD #AD2729 #29AD27
tetradic
#2729AD #AD276C #ADAB27 #27AD68
square
#2729AD #AD276C #ADAB27 #27AD68
split-complementary
#2729AD #AD6827 #6CAD27
monochromatic
#101149 #1C1D7B #2729AD #3E40D3 #7071DF

Accessibility & contrast

On white

10.46
#2729AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#2729AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2729AD
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2729AD#FFFFFF#000000##FFFFFF
##2729AD1.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B1
Deuteranopia (green-blind)
#0039AB
Tritanopia (blue-blind)
#005069
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2729ad;
/* rgb */ color: rgb(39, 41, 173);
/* oklch */ color: oklch(38.8% 0.201 271.5);
Tailwind
colors: {
  custom: {
    50: '#7965c7',
    500: '#2729ad',
    950: '#000000',
  },
}
SCSS
$custom: #2729ad;
$custom-light: #7965c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2729ad",
  "rgb": {
    "r": 39,
    "g": 41,
    "b": 173
  },
  "hsl": {
    "h": 239.104,
    "s": 63.208,
    "l": 41.569
  },
  "oklch": {
    "l": 0.38827,
    "c": 0.20103,
    "h": 271.5
  },
  "luminance": 0.05034
}

Semantic roles & 50–950 ramp

primary
#2729AD
secondary
#C6C46A
accent
#E442E6
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2729AD

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

Preview Lab → · Contrast checker → · Palette generator →

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