#2729A8#2729A8

#2729A8 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.3% C 0.195 H 271.8°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#2729A8
RGBrgb(39, 41, 168)
HSLhsl(239, 62%, 41%)
HSVhsv(239, 77%, 66%)
CMYKcmyk(76.8%, 75.6%, 0%, 34.1%)
CIE-LABlab(26.28, 43.04, -67.31)
CIE-LCHlch(26.28, 79.89, 302.59°)
OKLaboklab(38.28% 0.006 -0.1948)
OKLCHoklch(38.28% 0.195 271.8)
XYZxyz(8.6951, 4.8434, 37.5148)
Luminance0.0484 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2729A8 #A8A627
analogous
#2769A8 #2729A8 #6527A8
triadic
#2729A8 #A82729 #29A827
tetradic
#2729A8 #A82769 #A8A627 #27A865
square
#2729A8 #A82769 #A8A627 #27A865
split-complementary
#2729A8 #A86527 #69A827
monochromatic
#101145 #1B1D76 #2729A8 #3B3DD1 #6C6EDD

Accessibility & contrast

On white

10.67
#2729A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#2729A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2729A8#FFFFFF#000000##FFFFFF
##2729A81.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AC
Deuteranopia (green-blind)
#0038A6
Tritanopia (blue-blind)
#004E67
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2729a8;
/* rgb */ color: rgb(39, 41, 168);
/* oklch */ color: oklch(38.3% 0.195 271.8);
Tailwind
colors: {
  custom: {
    50: '#7864c3',
    500: '#2729a8',
    950: '#000000',
  },
}
SCSS
$custom: #2729a8;
$custom-light: #7864c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2729a8",
  "rgb": {
    "r": 39,
    "g": 41,
    "b": 168
  },
  "hsl": {
    "h": 239.07,
    "s": 62.319,
    "l": 40.588
  },
  "oklch": {
    "l": 0.3828,
    "c": 0.19493,
    "h": 271.8
  },
  "luminance": 0.04844
}

Semantic roles & 50–950 ramp

primary
#2729A8
secondary
#C3C267
accent
#E342E5
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #2729A8

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

Preview Lab → · Contrast checker → · Palette generator →

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