#2829A5#2829A5

#2829A5 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.0% C 0.191 H 272.3°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#2829A5
RGBrgb(40, 41, 165)
HSLhsl(240, 61%, 40%)
HSVhsv(240, 76%, 65%)
CMYKcmyk(75.8%, 75.2%, 0%, 35.3%)
CIE-LABlab(26.02, 42.11, -65.93)
CIE-LCHlch(26.02, 78.23, 302.57°)
OKLaboklab(38.01% 0.0077 -0.1908)
OKLCHoklch(38.01% 0.191 272.3)
XYZxyz(8.4573, 4.7527, 36.0617)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2829A5 #A5A428
analogous
#2867A5 #2829A5 #6528A5
triadic
#2829A5 #A52829 #29A528
tetradic
#2829A5 #A52867 #A5A428 #28A565
square
#2829A5 #A52867 #A5A428 #28A565
split-complementary
#2829A5 #A56528 #67A528
monochromatic
#101142 #1C1D74 #2829A5 #3B3CCF #6C6DDB

Accessibility & contrast

On white

10.76
#2829A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#2829A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2829A5
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2829A5#FFFFFF#000000##FFFFFF
##2829A51.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A9
Deuteranopia (green-blind)
#0037A3
Tritanopia (blue-blind)
#004D65
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2829a5;
/* rgb */ color: rgb(40, 41, 165);
/* oklch */ color: oklch(38.0% 0.191 272.3);
Tailwind
colors: {
  custom: {
    50: '#7764c1',
    500: '#2829a5',
    950: '#000000',
  },
}
SCSS
$custom: #2829a5;
$custom-light: #7764c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2829a5",
  "rgb": {
    "r": 40,
    "g": 41,
    "b": 165
  },
  "hsl": {
    "h": 239.52,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.38011,
    "c": 0.19098,
    "h": 272.3
  },
  "luminance": 0.04754
}

Semantic roles & 50–950 ramp

primary
#2829A5
secondary
#C2C167
accent
#E344E4
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #2829A5

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

Preview Lab → · Contrast checker → · Palette generator →

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