#2829A3#2829A3

#2829A3 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.8% C 0.188 H 272.5°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#2829A3
RGBrgb(40, 41, 163)
HSLhsl(240, 61%, 40%)
HSVhsv(240, 75%, 64%)
CMYKcmyk(75.5%, 74.8%, 0%, 36.1%)
CIE-LABlab(25.80, 41.43, -65.07)
CIE-LCHlch(25.80, 77.14, 302.48°)
OKLaboklab(37.8% 0.0081 -0.1883)
OKLCHoklch(37.8% 0.188 272.5)
XYZxyz(8.2766, 4.6805, 35.1105)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2829A3 #A3A228
analogous
#2867A3 #2829A3 #6428A3
triadic
#2829A3 #A32829 #29A328
tetradic
#2829A3 #A32867 #A3A228 #28A364
square
#2829A3 #A32867 #A3A228 #28A364
split-complementary
#2829A3 #A36428 #67A328
monochromatic
#101041 #1C1D72 #2829A3 #3A3BCF #6B6CDB

Accessibility & contrast

On white

10.85
#2829A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#2829A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2829A3
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2829A3#FFFFFF#000000##FFFFFF
##2829A31.0010.851.9410.85
#FFFFFF10.851.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A7
Deuteranopia (green-blind)
#0037A1
Tritanopia (blue-blind)
#004C64
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2829a3;
/* rgb */ color: rgb(40, 41, 163);
/* oklch */ color: oklch(37.8% 0.188 272.5);
Tailwind
colors: {
  custom: {
    50: '#7764bf',
    500: '#2829a3',
    950: '#000000',
  },
}
SCSS
$custom: #2829a3;
$custom-light: #7764bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2829a3",
  "rgb": {
    "r": 40,
    "g": 41,
    "b": 163
  },
  "hsl": {
    "h": 239.512,
    "s": 60.591,
    "l": 39.804
  },
  "oklch": {
    "l": 0.37796,
    "c": 0.18849,
    "h": 272.5
  },
  "luminance": 0.04681
}

Semantic roles & 50–950 ramp

primary
#2829A3
secondary
#C1C066
accent
#E244E4
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #2829A3

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

Preview Lab → · Contrast checker → · Palette generator →

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