#2B29A3#2B29A3

#2B29A3 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 38.0% C 0.188 H 273.6°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#2B29A3
RGBrgb(43, 41, 163)
HSLhsl(241, 60%, 40%)
HSVhsv(241, 75%, 64%)
CMYKcmyk(73.6%, 74.8%, 0%, 36.1%)
CIE-LABlab(25.99, 41.71, -64.76)
CIE-LCHlch(25.99, 77.03, 302.78°)
OKLaboklab(37.98% 0.0117 -0.1873)
OKLCHoklch(37.98% 0.188 273.6)
XYZxyz(8.3979, 4.7430, 35.1161)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B29A3 #A1A329
analogous
#2964A3 #2B29A3 #6829A3
triadic
#2B29A3 #A32B29 #29A32B
tetradic
#2B29A3 #A32964 #A1A329 #29A368
square
#2B29A3 #A32964 #A1A329 #29A368
split-complementary
#2B29A3 #A36829 #64A329
monochromatic
#111041 #1E1D72 #2B29A3 #3E3BCE #6E6CDA

Accessibility & contrast

On white

10.78
#2B29A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#2B29A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B29A3
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B29A3#FFFFFF#000000##FFFFFF
##2B29A31.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b29a3;
/* rgb */ color: rgb(43, 41, 163);
/* oklch */ color: oklch(38.0% 0.188 273.6);
Tailwind
colors: {
  custom: {
    50: '#7864bf',
    500: '#2b29a3',
    950: '#000000',
  },
}
SCSS
$custom: #2b29a3;
$custom-light: #7864bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2b29a3",
  "rgb": {
    "r": 43,
    "g": 41,
    "b": 163
  },
  "hsl": {
    "h": 240.984,
    "s": 59.804,
    "l": 40
  },
  "oklch": {
    "l": 0.37977,
    "c": 0.18771,
    "h": 273.6
  },
  "luminance": 0.04744
}

Semantic roles & 50–950 ramp

primary
#2B29A3
secondary
#BFC167
accent
#E345E0
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #2B29A3

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

Preview Lab → · Contrast checker → · Palette generator →

#2B29A3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva