#2829A1#2829A1

#2829A1 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.6% C 0.186 H 272.6°. Best body text is #FFFFFF at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#2829A1
RGBrgb(40, 41, 161)
HSLhsl(240, 60%, 39%)
HSVhsv(240, 75%, 63%)
CMYKcmyk(75.2%, 74.5%, 0%, 36.9%)
CIE-LABlab(25.59, 40.75, -64.21)
CIE-LCHlch(25.59, 76.05, 302.40°)
OKLaboklab(37.58% 0.0084 -0.1858)
OKLCHoklch(37.58% 0.186 272.6)
XYZxyz(8.0989, 4.6094, 34.1742)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2829A1 #A1A028
analogous
#2866A1 #2829A1 #6428A1
triadic
#2829A1 #A12829 #29A128
tetradic
#2829A1 #A12866 #A1A028 #28A164
square
#2829A1 #A12866 #A1A028 #28A164
split-complementary
#2829A1 #A16428 #66A128
monochromatic
#10103F #1C1D70 #2829A1 #393ACE #6A6ADA

Accessibility & contrast

On white

10.93
#2829A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2829A1
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2829A1#FFFFFF#000000##FFFFFF
##2829A11.0010.931.9210.93
#FFFFFF10.931.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A5
Deuteranopia (green-blind)
#00379F
Tritanopia (blue-blind)
#004C63
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2829a1;
/* rgb */ color: rgb(40, 41, 161);
/* oklch */ color: oklch(37.6% 0.186 272.6);
Tailwind
colors: {
  custom: {
    50: '#7664be',
    500: '#2829a1',
    950: '#000000',
  },
}
SCSS
$custom: #2829a1;
$custom-light: #7664be;
$custom-dark: #000000;
JSON
{
  "hex": "#2829a1",
  "rgb": {
    "r": 40,
    "g": 41,
    "b": 161
  },
  "hsl": {
    "h": 239.504,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.37581,
    "c": 0.186,
    "h": 272.6
  },
  "luminance": 0.0461
}

Semantic roles & 50–950 ramp

primary
#2829A1
secondary
#C0BF65
accent
#E244E3
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #2829A1

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

Preview Lab → · Contrast checker → · Palette generator →

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