#2829A2#2829A2

#2829A2 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.7% C 0.187 H 272.5°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#2829A2
RGBrgb(40, 41, 162)
HSLhsl(240, 60%, 40%)
HSVhsv(240, 75%, 64%)
CMYKcmyk(75.3%, 74.7%, 0%, 36.5%)
CIE-LABlab(25.70, 41.09, -64.64)
CIE-LCHlch(25.70, 76.59, 302.44°)
OKLaboklab(37.69% 0.0082 -0.1871)
OKLCHoklch(37.69% 0.187 272.5)
XYZxyz(8.1874, 4.6448, 34.6405)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2829A2 #A2A128
analogous
#2866A2 #2829A2 #6428A2
triadic
#2829A2 #A22829 #29A228
tetradic
#2829A2 #A22866 #A2A128 #28A264
square
#2829A2 #A22866 #A2A128 #28A264
split-complementary
#2829A2 #A26428 #66A228
monochromatic
#101040 #1C1D71 #2829A2 #393ACE #6A6BDA

Accessibility & contrast

On white

10.89
#2829A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2829A2
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2829A2#FFFFFF#000000##FFFFFF
##2829A21.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.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: #2829a2;
/* rgb */ color: rgb(40, 41, 162);
/* oklch */ color: oklch(37.7% 0.187 272.5);
Tailwind
colors: {
  custom: {
    50: '#7664bf',
    500: '#2829a2',
    950: '#000000',
  },
}
SCSS
$custom: #2829a2;
$custom-light: #7664bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2829a2",
  "rgb": {
    "r": 40,
    "g": 41,
    "b": 162
  },
  "hsl": {
    "h": 239.508,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.37689,
    "c": 0.18725,
    "h": 272.5
  },
  "luminance": 0.04646
}

Semantic roles & 50–950 ramp

primary
#2829A2
secondary
#C1C065
accent
#E244E4
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #2829A2

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

Preview Lab → · Contrast checker → · Palette generator →

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