#2729AF#2729AF

#2729AF is a dark, highly saturated blue. Relative luminance 0.051; OKLCH L 39.0% C 0.203 H 271.3°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#2729AF
RGBrgb(39, 41, 175)
HSLhsl(239, 64%, 42%)
HSVhsv(239, 78%, 69%)
CMYKcmyk(77.7%, 76.6%, 0%, 31.4%)
CIE-LABlab(27.05, 45.38, -70.25)
CIE-LCHlch(27.05, 83.63, 302.86°)
OKLaboklab(39.05% 0.0047 -0.2034)
OKLCHoklch(39.05% 0.203 271.3)
XYZxyz(9.3649, 5.1113, 41.0422)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2729AF #AFAD27
analogous
#276DAF #2729AF #6927AF
triadic
#2729AF #AF2729 #29AF27
tetradic
#2729AF #AF276D #AFAD27 #27AF69
square
#2729AF #AF276D #AFAD27 #27AF69
split-complementary
#2729AF #AF6927 #6DAF27
monochromatic
#11124B #1C1D7D #2729AF #3F41D4 #7173DF

Accessibility & contrast

On white

10.38
#2729AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#2729AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2729AF#FFFFFF#000000##FFFFFF
##2729AF1.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B3
Deuteranopia (green-blind)
#0039AD
Tritanopia (blue-blind)
#00516B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2729af;
/* rgb */ color: rgb(39, 41, 175);
/* oklch */ color: oklch(39.0% 0.203 271.3);
Tailwind
colors: {
  custom: {
    50: '#7965c8',
    500: '#2729af',
    950: '#000000',
  },
}
SCSS
$custom: #2729af;
$custom-light: #7965c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2729af",
  "rgb": {
    "r": 39,
    "g": 41,
    "b": 175
  },
  "hsl": {
    "h": 239.118,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.39048,
    "c": 0.20344,
    "h": 271.3
  },
  "luminance": 0.05112
}

Semantic roles & 50–950 ramp

primary
#2729AF
secondary
#C6C56B
accent
#E441E7
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2729AF

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

Preview Lab → · Contrast checker → · Palette generator →

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