#2729A1#2729A1

#2729A1 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.5% C 0.186 H 272.2°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#2729A1
RGBrgb(39, 41, 161)
HSLhsl(239, 61%, 39%)
HSVhsv(239, 76%, 63%)
CMYKcmyk(75.8%, 74.5%, 0%, 36.9%)
CIE-LABlab(25.53, 40.66, -64.31)
CIE-LCHlch(25.53, 76.08, 302.30°)
OKLaboklab(37.52% 0.0072 -0.1861)
OKLCHoklch(37.52% 0.186 272.2)
XYZxyz(8.0605, 4.5896, 34.1724)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2729A1 #A19F27
analogous
#2766A1 #2729A1 #6227A1
triadic
#2729A1 #A12729 #29A127
tetradic
#2729A1 #A12766 #A19F27 #27A162
square
#2729A1 #A12766 #A19F27 #27A162
split-complementary
#2729A1 #A16227 #66A127
monochromatic
#0F103E #1B1C70 #2729A1 #3739CE #686ADA

Accessibility & contrast

On white

10.95
#2729A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#2729A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2729A1
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2729A1#FFFFFF#000000##FFFFFF
##2729A11.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A5
Deuteranopia (green-blind)
#00369F
Tritanopia (blue-blind)
#004C63
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2729a1;
/* rgb */ color: rgb(39, 41, 161);
/* oklch */ color: oklch(37.5% 0.186 272.2);
Tailwind
colors: {
  custom: {
    50: '#7664be',
    500: '#2729a1',
    950: '#000000',
  },
}
SCSS
$custom: #2729a1;
$custom-light: #7664be;
$custom-dark: #000000;
JSON
{
  "hex": "#2729a1",
  "rgb": {
    "r": 39,
    "g": 41,
    "b": 161
  },
  "hsl": {
    "h": 239.016,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.37523,
    "c": 0.18627,
    "h": 272.2
  },
  "luminance": 0.0459
}

Semantic roles & 50–950 ramp

primary
#2729A1
secondary
#C0BF63
accent
#E144E4
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #2729A1

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

Preview Lab → · Contrast checker → · Palette generator →

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