#2829B8#2829B8

#2829B8 is a dark, highly saturated blue. Relative luminance 0.055; OKLCH L 40.1% C 0.214 H 271.1°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#2829B8
RGBrgb(40, 41, 184)
HSLhsl(240, 64%, 44%)
HSVhsv(240, 78%, 72%)
CMYKcmyk(78.3%, 77.7%, 0%, 27.8%)
CIE-LABlab(28.10, 48.40, -73.87)
CIE-LCHlch(28.10, 88.32, 303.23°)
OKLaboklab(40.1% 0.0041 -0.2139)
OKLCHoklch(40.1% 0.214 271.1)
XYZxyz(10.3168, 5.4965, 45.8553)
Luminance0.0550 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2829B8 #B8B728
analogous
#2871B8 #2829B8 #6F28B8
triadic
#2829B8 #B82829 #29B828
tetradic
#2829B8 #B82871 #B8B728 #28B86F
square
#2829B8 #B82871 #B8B728 #28B86F
split-complementary
#2829B8 #B86F28 #71B828
monochromatic
#121353 #1D1E86 #2829B8 #4647D7 #7979E2

Accessibility & contrast

On white

10.00
#2829B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#2829B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2829B8
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2829B8#FFFFFF#000000##FFFFFF
##2829B81.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049BC
Deuteranopia (green-blind)
#003BB6
Tritanopia (blue-blind)
#005470
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2829b8;
/* rgb */ color: rgb(40, 41, 184);
/* oklch */ color: oklch(40.1% 0.214 271.1);
Tailwind
colors: {
  custom: {
    50: '#7c65cf',
    500: '#2829b8',
    950: '#000000',
  },
}
SCSS
$custom: #2829b8;
$custom-light: #7c65cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2829b8",
  "rgb": {
    "r": 40,
    "g": 41,
    "b": 184
  },
  "hsl": {
    "h": 239.583,
    "s": 64.286,
    "l": 43.922
  },
  "oklch": {
    "l": 0.40099,
    "c": 0.21392,
    "h": 271.1
  },
  "luminance": 0.05498
}

Semantic roles & 50–950 ramp

primary
#2829B8
secondary
#CAC972
accent
#E641E7
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0B0614
muted
#7C7A82

Preview Lab

Preview with #2829B8

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

Preview Lab → · Contrast checker → · Palette generator →

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