#2729A9#2729A9

#2729A9 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.4% C 0.196 H 271.7°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#2729A9
RGBrgb(39, 41, 169)
HSLhsl(239, 63%, 41%)
HSVhsv(239, 77%, 66%)
CMYKcmyk(76.9%, 75.7%, 0%, 33.7%)
CIE-LABlab(26.39, 43.37, -67.73)
CIE-LCHlch(26.39, 80.43, 302.63°)
OKLaboklab(38.39% 0.0058 -0.1961)
OKLCHoklch(38.39% 0.196 271.7)
XYZxyz(8.7887, 4.8808, 38.0073)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2729A9 #A9A727
analogous
#276AA9 #2729A9 #6627A9
triadic
#2729A9 #A92729 #29A927
tetradic
#2729A9 #A9276A #A9A727 #27A966
square
#2729A9 #A9276A #A9A727 #27A966
split-complementary
#2729A9 #A96627 #6AA927
monochromatic
#101146 #1C1D77 #2729A9 #3B3ED2 #6D6FDD

Accessibility & contrast

On white

10.63
#2729A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##2729A9#FFFFFF#000000##FFFFFF
##2729A91.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AD
Deuteranopia (green-blind)
#0038A7
Tritanopia (blue-blind)
#004F67
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2729a9;
/* rgb */ color: rgb(39, 41, 169);
/* oklch */ color: oklch(38.4% 0.196 271.7);
Tailwind
colors: {
  custom: {
    50: '#7864c4',
    500: '#2729a9',
    950: '#000000',
  },
}
SCSS
$custom: #2729a9;
$custom-light: #7864c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2729a9",
  "rgb": {
    "r": 39,
    "g": 41,
    "b": 169
  },
  "hsl": {
    "h": 239.077,
    "s": 62.5,
    "l": 40.784
  },
  "oklch": {
    "l": 0.38389,
    "c": 0.19617,
    "h": 271.7
  },
  "luminance": 0.04882
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2729A9

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

Preview Lab → · Contrast checker → · Palette generator →

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