#2829B1#2829B1

#2829B1 is a dark, highly saturated blue. Relative luminance 0.052; OKLCH L 39.3% C 0.206 H 271.5°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#2829B1
RGBrgb(40, 41, 177)
HSLhsl(240, 63%, 43%)
HSVhsv(240, 77%, 69%)
CMYKcmyk(77.4%, 76.8%, 0%, 30.6%)
CIE-LABlab(27.33, 46.11, -70.99)
CIE-LCHlch(27.33, 84.65, 303.01°)
OKLaboklab(39.32% 0.0055 -0.2055)
OKLCHoklch(39.32% 0.206 271.5)
XYZxyz(9.6011, 5.2103, 42.0861)
Luminance0.0521 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2829B1 #B1B028
analogous
#286EB1 #2829B1 #6B28B1
triadic
#2829B1 #B12829 #29B128
tetradic
#2829B1 #B1286E #B1B028 #28B16B
square
#2829B1 #B1286E #B1B028 #28B16B
split-complementary
#2829B1 #B16B28 #6EB128
monochromatic
#11124D #1D1D7F #2829B1 #4243D4 #7475E0

Accessibility & contrast

On white

10.28
#2829B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#2829B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2829B1
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2829B1#FFFFFF#000000##FFFFFF
##2829B11.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B5
Deuteranopia (green-blind)
#003AAF
Tritanopia (blue-blind)
#00526C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2829b1;
/* rgb */ color: rgb(40, 41, 177);
/* oklch */ color: oklch(39.3% 0.206 271.5);
Tailwind
colors: {
  custom: {
    50: '#7a65ca',
    500: '#2829b1',
    950: '#000000',
  },
}
SCSS
$custom: #2829b1;
$custom-light: #7a65ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2829b1",
  "rgb": {
    "r": 40,
    "g": 41,
    "b": 177
  },
  "hsl": {
    "h": 239.562,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.39322,
    "c": 0.20559,
    "h": 271.5
  },
  "luminance": 0.05211
}

Semantic roles & 50–950 ramp

primary
#2829B1
secondary
#C7C66E
accent
#E542E6
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2829B1

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

Preview Lab → · Contrast checker → · Palette generator →

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