#2829A8#2829A8

#2829A8 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.3% C 0.195 H 272.1°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#2829A8
RGBrgb(40, 41, 168)
HSLhsl(240, 62%, 41%)
HSVhsv(240, 76%, 66%)
CMYKcmyk(76.2%, 75.6%, 0%, 34.1%)
CIE-LABlab(26.34, 43.12, -67.21)
CIE-LCHlch(26.34, 79.85, 302.68°)
OKLaboklab(38.34% 0.0072 -0.1945)
OKLCHoklch(38.34% 0.195 272.1)
XYZxyz(8.7335, 4.8632, 37.5166)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2829A8 #A8A728
analogous
#2869A8 #2829A8 #6728A8
triadic
#2829A8 #A82829 #29A828
tetradic
#2829A8 #A82869 #A8A728 #28A867
square
#2829A8 #A82869 #A8A728 #28A867
split-complementary
#2829A8 #A86728 #69A828
monochromatic
#101145 #1C1D77 #2829A8 #3D3ED1 #6E6FDC

Accessibility & contrast

On white

10.64
#2829A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#2829A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2829A8
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2829A8#FFFFFF#000000##FFFFFF
##2829A81.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AC
Deuteranopia (green-blind)
#0038A6
Tritanopia (blue-blind)
#004E67
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2829a8;
/* rgb */ color: rgb(40, 41, 168);
/* oklch */ color: oklch(38.3% 0.195 272.1);
Tailwind
colors: {
  custom: {
    50: '#7864c3',
    500: '#2829a8',
    950: '#000000',
  },
}
SCSS
$custom: #2829a8;
$custom-light: #7864c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2829a8",
  "rgb": {
    "r": 40,
    "g": 41,
    "b": 168
  },
  "hsl": {
    "h": 239.531,
    "s": 61.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.38336,
    "c": 0.19467,
    "h": 272.1
  },
  "luminance": 0.04864
}

Semantic roles & 50–950 ramp

primary
#2829A8
secondary
#C3C269
accent
#E343E5
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #2829A8

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

Preview Lab → · Contrast checker → · Palette generator →

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