#2829A9#2829A9

#2829A9 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.4% C 0.196 H 272.0°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#2829A9
RGBrgb(40, 41, 169)
HSLhsl(240, 62%, 41%)
HSVhsv(240, 76%, 66%)
CMYKcmyk(76.3%, 75.7%, 0%, 33.7%)
CIE-LABlab(26.45, 43.45, -67.63)
CIE-LCHlch(26.45, 80.39, 302.72°)
OKLaboklab(38.45% 0.007 -0.1958)
OKLCHoklch(38.45% 0.196 272)
XYZxyz(8.8270, 4.9006, 38.0091)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2829A9 #A9A828
analogous
#2869A9 #2829A9 #6728A9
triadic
#2829A9 #A92829 #29A928
tetradic
#2829A9 #A92869 #A9A828 #28A967
square
#2829A9 #A92869 #A9A828 #28A967
split-complementary
#2829A9 #A96728 #69A928
monochromatic
#111146 #1C1D78 #2829A9 #3D3ED1 #6F6FDD

Accessibility & contrast

On white

10.60
#2829A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#2829A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2829A9
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2829A9#FFFFFF#000000##FFFFFF
##2829A91.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AD
Deuteranopia (green-blind)
#0038A7
Tritanopia (blue-blind)
#004F67
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2829a9;
/* rgb */ color: rgb(40, 41, 169);
/* oklch */ color: oklch(38.4% 0.196 272.0);
Tailwind
colors: {
  custom: {
    50: '#7865c4',
    500: '#2829a9',
    950: '#000000',
  },
}
SCSS
$custom: #2829a9;
$custom-light: #7865c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2829a9",
  "rgb": {
    "r": 40,
    "g": 41,
    "b": 169
  },
  "hsl": {
    "h": 239.535,
    "s": 61.722,
    "l": 40.98
  },
  "oklch": {
    "l": 0.38445,
    "c": 0.19589,
    "h": 272
  },
  "luminance": 0.04902
}

Semantic roles & 50–950 ramp

primary
#2829A9
secondary
#C4C369
accent
#E443E5
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2829A9

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

Preview Lab → · Contrast checker → · Palette generator →

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