#2729A2#2729A2

#2729A2 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.6% C 0.188 H 272.2°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#2729A2
RGBrgb(39, 41, 162)
HSLhsl(239, 61%, 39%)
HSVhsv(239, 76%, 64%)
CMYKcmyk(75.9%, 74.7%, 0%, 36.5%)
CIE-LABlab(25.64, 41.00, -64.74)
CIE-LCHlch(25.64, 76.63, 302.35°)
OKLaboklab(37.63% 0.0071 -0.1874)
OKLCHoklch(37.63% 0.188 272.2)
XYZxyz(8.1490, 4.6250, 34.6387)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2729A2 #A2A027
analogous
#2767A2 #2729A2 #6227A2
triadic
#2729A2 #A22729 #29A227
tetradic
#2729A2 #A22767 #A2A027 #27A262
square
#2729A2 #A22767 #A2A027 #27A262
split-complementary
#2729A2 #A26227 #67A227
monochromatic
#0F103F #1B1D71 #2729A2 #373ACF #696ADB

Accessibility & contrast

On white

10.91
#2729A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2729A2
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2729A2#FFFFFF#000000##FFFFFF
##2729A21.0010.911.9310.91
#FFFFFF10.911.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A6
Deuteranopia (green-blind)
#0037A0
Tritanopia (blue-blind)
#004C63
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2729a2;
/* rgb */ color: rgb(39, 41, 162);
/* oklch */ color: oklch(37.6% 0.188 272.2);
Tailwind
colors: {
  custom: {
    50: '#7664bf',
    500: '#2729a2',
    950: '#000000',
  },
}
SCSS
$custom: #2729a2;
$custom-light: #7664bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2729a2",
  "rgb": {
    "r": 39,
    "g": 41,
    "b": 162
  },
  "hsl": {
    "h": 239.024,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.3763,
    "c": 0.18751,
    "h": 272.2
  },
  "luminance": 0.04626
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2729A2

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

Preview Lab → · Contrast checker → · Palette generator →

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