#2729AA#2729AA

#2729AA is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.5% C 0.197 H 271.6°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#2729AA
RGBrgb(39, 41, 170)
HSLhsl(239, 63%, 41%)
HSVhsv(239, 77%, 67%)
CMYKcmyk(77.1%, 75.9%, 0%, 33.3%)
CIE-LABlab(26.50, 43.71, -68.15)
CIE-LCHlch(26.50, 80.96, 302.67°)
OKLaboklab(38.5% 0.0056 -0.1973)
OKLCHoklch(38.5% 0.197 271.6)
XYZxyz(8.8829, 4.9185, 38.5036)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2729AA #AAA827
analogous
#276AAA #2729AA #6627AA
triadic
#2729AA #AA2729 #29AA27
tetradic
#2729AA #AA276A #AAA827 #27AA66
square
#2729AA #AA276A #AAA827 #27AA66
split-complementary
#2729AA #AA6627 #6AAA27
monochromatic
#101146 #1C1D78 #2729AA #3C3ED2 #6E6FDE

Accessibility & contrast

On white

10.59
#2729AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#2729AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2729AA#FFFFFF#000000##FFFFFF
##2729AA1.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AE
Deuteranopia (green-blind)
#0038A8
Tritanopia (blue-blind)
#004F68
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2729aa;
/* rgb */ color: rgb(39, 41, 170);
/* oklch */ color: oklch(38.5% 0.197 271.6);
Tailwind
colors: {
  custom: {
    50: '#7865c5',
    500: '#2729aa',
    950: '#000000',
  },
}
SCSS
$custom: #2729aa;
$custom-light: #7865c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2729aa",
  "rgb": {
    "r": 39,
    "g": 41,
    "b": 170
  },
  "hsl": {
    "h": 239.084,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.38498,
    "c": 0.19738,
    "h": 271.6
  },
  "luminance": 0.04919
}

Semantic roles & 50–950 ramp

primary
#2729AA
secondary
#C4C369
accent
#E342E6
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2729AA

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

Preview Lab → · Contrast checker → · Palette generator →

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