#2829A0#2829A0

#2829A0 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.5% C 0.185 H 272.7°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#2829A0
RGBrgb(40, 41, 160)
HSLhsl(240, 60%, 39%)
HSVhsv(240, 75%, 63%)
CMYKcmyk(75%, 74.4%, 0%, 37.3%)
CIE-LABlab(25.49, 40.41, -63.77)
CIE-LCHlch(25.49, 75.50, 302.36°)
OKLaboklab(37.47% 0.0086 -0.1845)
OKLCHoklch(37.47% 0.185 272.7)
XYZxyz(8.0110, 4.5742, 33.7116)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2829A0 #A09F28
analogous
#2865A0 #2829A0 #6328A0
triadic
#2829A0 #A02829 #29A028
tetradic
#2829A0 #A02865 #A09F28 #28A063
square
#2829A0 #A02865 #A09F28 #28A063
split-complementary
#2829A0 #A06328 #65A028
monochromatic
#10103E #1C1C6F #2829A0 #3839CD #696AD9

Accessibility & contrast

On white

10.97
#2829A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#2829A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2829A0
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2829A0#FFFFFF#000000##FFFFFF
##2829A01.0010.971.9210.97
#FFFFFF10.971.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A3
Deuteranopia (green-blind)
#00369E
Tritanopia (blue-blind)
#004B62
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2829a0;
/* rgb */ color: rgb(40, 41, 160);
/* oklch */ color: oklch(37.5% 0.185 272.7);
Tailwind
colors: {
  custom: {
    50: '#7664bd',
    500: '#2829a0',
    950: '#000000',
  },
}
SCSS
$custom: #2829a0;
$custom-light: #7664bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2829a0",
  "rgb": {
    "r": 40,
    "g": 41,
    "b": 160
  },
  "hsl": {
    "h": 239.5,
    "s": 60,
    "l": 39.216
  },
  "oklch": {
    "l": 0.37474,
    "c": 0.18475,
    "h": 272.7
  },
  "luminance": 0.04575
}

Semantic roles & 50–950 ramp

primary
#2829A0
secondary
#C0BF64
accent
#E245E3
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #2829A0

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

Preview Lab → · Contrast checker → · Palette generator →

#2829A0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva