#2829B4#2829B4

#2829B4 is a dark, highly saturated blue. Relative luminance 0.053; OKLCH L 39.7% C 0.209 H 271.3°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#2829B4
RGBrgb(40, 41, 180)
HSLhsl(240, 64%, 43%)
HSVhsv(240, 78%, 71%)
CMYKcmyk(77.8%, 77.2%, 0%, 29.4%)
CIE-LABlab(27.66, 47.10, -72.23)
CIE-LCHlch(27.66, 86.23, 303.11°)
OKLaboklab(39.65% 0.0049 -0.2091)
OKLCHoklch(39.65% 0.209 271.3)
XYZxyz(9.9034, 5.3312, 43.6782)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2829B4 #B4B328
analogous
#286FB4 #2829B4 #6D28B4
triadic
#2829B4 #B42829 #29B428
tetradic
#2829B4 #B4286F #B4B328 #28B46D
square
#2829B4 #B4286F #B4B328 #28B46D
split-complementary
#2829B4 #B46D28 #6FB428
monochromatic
#121250 #1D1E82 #2829B4 #4445D5 #7677E1

Accessibility & contrast

On white

10.16
#2829B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#2829B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2829B4
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2829B4#FFFFFF#000000##FFFFFF
##2829B41.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B8
Deuteranopia (green-blind)
#003AB2
Tritanopia (blue-blind)
#00536D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2829b4;
/* rgb */ color: rgb(40, 41, 180);
/* oklch */ color: oklch(39.7% 0.209 271.3);
Tailwind
colors: {
  custom: {
    50: '#7b65cc',
    500: '#2829b4',
    950: '#000000',
  },
}
SCSS
$custom: #2829b4;
$custom-light: #7b65cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2829b4",
  "rgb": {
    "r": 40,
    "g": 41,
    "b": 180
  },
  "hsl": {
    "h": 239.571,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.39654,
    "c": 0.20918,
    "h": 271.3
  },
  "luminance": 0.05332
}

Semantic roles & 50–950 ramp

primary
#2829B4
secondary
#C8C770
accent
#E541E7
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0614
muted
#7C7A82

Preview Lab

Preview with #2829B4

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

Preview Lab → · Contrast checker → · Palette generator →

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