#2829B0#2829B0

#2829B0 is a dark, highly saturated blue. Relative luminance 0.052; OKLCH L 39.2% C 0.204 H 271.6°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#2829B0
RGBrgb(40, 41, 176)
HSLhsl(240, 63%, 42%)
HSVhsv(240, 77%, 69%)
CMYKcmyk(77.3%, 76.7%, 0%, 31%)
CIE-LABlab(27.22, 45.78, -70.57)
CIE-LCHlch(27.22, 84.12, 302.97°)
OKLaboklab(39.21% 0.0057 -0.2043)
OKLCHoklch(39.21% 0.204 271.6)
XYZxyz(9.5018, 5.1705, 41.5631)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2829B0 #B0AF28
analogous
#286DB0 #2829B0 #6B28B0
triadic
#2829B0 #B02829 #29B028
tetradic
#2829B0 #B0286D #B0AF28 #28B06B
square
#2829B0 #B0286D #B0AF28 #28B06B
split-complementary
#2829B0 #B06B28 #6DB028
monochromatic
#11124C #1D1D7E #2829B0 #4142D4 #7374DF

Accessibility & contrast

On white

10.32
#2829B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#2829B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2829B0
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2829B0#FFFFFF#000000##FFFFFF
##2829B01.0010.322.0310.32
#FFFFFF10.321.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B4
Deuteranopia (green-blind)
#0039AE
Tritanopia (blue-blind)
#00516B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2829b0;
/* rgb */ color: rgb(40, 41, 176);
/* oklch */ color: oklch(39.2% 0.204 271.6);
Tailwind
colors: {
  custom: {
    50: '#7a65c9',
    500: '#2829b0',
    950: '#000000',
  },
}
SCSS
$custom: #2829b0;
$custom-light: #7a65c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2829b0",
  "rgb": {
    "r": 40,
    "g": 41,
    "b": 176
  },
  "hsl": {
    "h": 239.559,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.39212,
    "c": 0.20439,
    "h": 271.6
  },
  "luminance": 0.05172
}

Semantic roles & 50–950 ramp

primary
#2829B0
secondary
#C6C66D
accent
#E542E6
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2829B0

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

Preview Lab → · Contrast checker → · Palette generator →

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