#2729A3#2729A3

#2729A3 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.7% C 0.189 H 272.1°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#2729A3
RGBrgb(39, 41, 163)
HSLhsl(239, 61%, 40%)
HSVhsv(239, 76%, 64%)
CMYKcmyk(76.1%, 74.8%, 0%, 36.1%)
CIE-LABlab(25.75, 41.34, -65.17)
CIE-LCHlch(25.75, 77.18, 302.39°)
OKLaboklab(37.74% 0.0069 -0.1886)
OKLCHoklch(37.74% 0.189 272.1)
XYZxyz(8.2383, 4.6607, 35.1087)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2729A3 #A3A127
analogous
#2767A3 #2729A3 #6327A3
triadic
#2729A3 #A32729 #29A327
tetradic
#2729A3 #A32767 #A3A127 #27A363
square
#2729A3 #A32767 #A3A127 #27A363
split-complementary
#2729A3 #A36327 #67A327
monochromatic
#0F1040 #1B1D72 #2729A3 #383ACF #696BDB

Accessibility & contrast

On white

10.87
#2729A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#2729A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2729A3#FFFFFF#000000##FFFFFF
##2729A31.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A7
Deuteranopia (green-blind)
#0037A1
Tritanopia (blue-blind)
#004C64
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2729a3;
/* rgb */ color: rgb(39, 41, 163);
/* oklch */ color: oklch(37.7% 0.189 272.1);
Tailwind
colors: {
  custom: {
    50: '#7664bf',
    500: '#2729a3',
    950: '#000000',
  },
}
SCSS
$custom: #2729a3;
$custom-light: #7664bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2729a3",
  "rgb": {
    "r": 39,
    "g": 41,
    "b": 163
  },
  "hsl": {
    "h": 239.032,
    "s": 61.386,
    "l": 39.608
  },
  "oklch": {
    "l": 0.37738,
    "c": 0.18876,
    "h": 272.1
  },
  "luminance": 0.04662
}

Semantic roles & 50–950 ramp

primary
#2729A3
secondary
#C1C064
accent
#E243E4
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #2729A3

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

Preview Lab → · Contrast checker → · Palette generator →

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