#2829B3#2829B3

#2829B3 is a dark, highly saturated blue. Relative luminance 0.053; OKLCH L 39.5% C 0.208 H 271.4°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#2829B3
RGBrgb(40, 41, 179)
HSLhsl(240, 63%, 43%)
HSVhsv(240, 78%, 70%)
CMYKcmyk(77.7%, 77.1%, 0%, 29.8%)
CIE-LABlab(27.55, 46.77, -71.82)
CIE-LCHlch(27.55, 85.70, 303.07°)
OKLaboklab(39.54% 0.0051 -0.2079)
OKLCHoklch(39.54% 0.208 271.4)
XYZxyz(9.8019, 5.2906, 43.1437)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2829B3 #B3B228
analogous
#286FB3 #2829B3 #6C28B3
triadic
#2829B3 #B32829 #29B328
tetradic
#2829B3 #B3286F #B3B228 #28B36C
square
#2829B3 #B3286F #B3B228 #28B36C
split-complementary
#2829B3 #B36C28 #6FB328
monochromatic
#12124F #1D1E81 #2829B3 #4344D5 #7576E0

Accessibility & contrast

On white

10.20
#2829B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#2829B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2829B3
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2829B3#FFFFFF#000000##FFFFFF
##2829B31.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2829b3;
/* rgb */ color: rgb(40, 41, 179);
/* oklch */ color: oklch(39.5% 0.208 271.4);
Tailwind
colors: {
  custom: {
    50: '#7b65cb',
    500: '#2829b3',
    950: '#000000',
  },
}
SCSS
$custom: #2829b3;
$custom-light: #7b65cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2829b3",
  "rgb": {
    "r": 40,
    "g": 41,
    "b": 179
  },
  "hsl": {
    "h": 239.568,
    "s": 63.47,
    "l": 42.941
  },
  "oklch": {
    "l": 0.39543,
    "c": 0.20798,
    "h": 271.4
  },
  "luminance": 0.05292
}

Semantic roles & 50–950 ramp

primary
#2829B3
secondary
#C8C76F
accent
#E541E6
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2829B3

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

Preview Lab → · Contrast checker → · Palette generator →

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