#2729A6#2729A6

#2729A6 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.1% C 0.192 H 271.9°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#2729A6
RGBrgb(39, 41, 166)
HSLhsl(239, 62%, 40%)
HSVhsv(239, 77%, 65%)
CMYKcmyk(76.5%, 75.3%, 0%, 34.9%)
CIE-LABlab(26.07, 42.36, -66.46)
CIE-LCHlch(26.07, 78.81, 302.51°)
OKLaboklab(38.06% 0.0064 -0.1924)
OKLCHoklch(38.06% 0.192 271.9)
XYZxyz(8.5103, 4.7695, 36.5411)
Luminance0.0477 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2729A6 #A6A427
analogous
#2769A6 #2729A6 #6427A6
triadic
#2729A6 #A62729 #29A627
tetradic
#2729A6 #A62769 #A6A427 #27A664
square
#2729A6 #A62769 #A6A427 #27A664
split-complementary
#2729A6 #A66427 #69A627
monochromatic
#101143 #1B1D74 #2729A6 #3A3CD1 #6B6DDC

Accessibility & contrast

On white

10.75
#2729A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#2729A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2729A6#FFFFFF#000000##FFFFFF
##2729A61.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AA
Deuteranopia (green-blind)
#0037A4
Tritanopia (blue-blind)
#004E65
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2729a6;
/* rgb */ color: rgb(39, 41, 166);
/* oklch */ color: oklch(38.1% 0.192 271.9);
Tailwind
colors: {
  custom: {
    50: '#7764c2',
    500: '#2729a6',
    950: '#000000',
  },
}
SCSS
$custom: #2729a6;
$custom-light: #7764c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2729a6",
  "rgb": {
    "r": 39,
    "g": 41,
    "b": 166
  },
  "hsl": {
    "h": 239.055,
    "s": 61.951,
    "l": 40.196
  },
  "oklch": {
    "l": 0.38063,
    "c": 0.19248,
    "h": 271.9
  },
  "luminance": 0.0477
}

Semantic roles & 50–950 ramp

primary
#2729A6
secondary
#C3C166
accent
#E243E5
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0513
muted
#7C7A82

Preview Lab

Preview with #2729A6

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

Preview Lab → · Contrast checker → · Palette generator →

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