#2B29A4#2B29A4

#2B29A4 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.1% C 0.189 H 273.5°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#2B29A4
RGBrgb(43, 41, 164)
HSLhsl(241, 60%, 40%)
HSVhsv(241, 75%, 64%)
CMYKcmyk(73.8%, 75%, 0%, 35.7%)
CIE-LABlab(26.10, 42.04, -65.19)
CIE-LCHlch(26.10, 77.57, 302.82°)
OKLaboklab(38.08% 0.0115 -0.1886)
OKLCHoklch(38.08% 0.189 273.5)
XYZxyz(8.4878, 4.7789, 35.5899)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B29A4 #A2A429
analogous
#2964A4 #2B29A4 #6929A4
triadic
#2B29A4 #A42B29 #29A42B
tetradic
#2B29A4 #A42964 #A2A429 #29A469
square
#2B29A4 #A42964 #A2A429 #29A469
split-complementary
#2B29A4 #A46929 #64A429
monochromatic
#111142 #1E1D73 #2B29A4 #3E3CCE #6F6DDA

Accessibility & contrast

On white

10.74
#2B29A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#2B29A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B29A4
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B29A4#FFFFFF#000000##FFFFFF
##2B29A41.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A8
Deuteranopia (green-blind)
#0038A2
Tritanopia (blue-blind)
#004D64
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2b29a4;
/* rgb */ color: rgb(43, 41, 164);
/* oklch */ color: oklch(38.1% 0.189 273.5);
Tailwind
colors: {
  custom: {
    50: '#7864c0',
    500: '#2b29a4',
    950: '#000000',
  },
}
SCSS
$custom: #2b29a4;
$custom-light: #7864c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b29a4",
  "rgb": {
    "r": 43,
    "g": 41,
    "b": 164
  },
  "hsl": {
    "h": 240.976,
    "s": 60,
    "l": 40.196
  },
  "oklch": {
    "l": 0.38083,
    "c": 0.18895,
    "h": 273.5
  },
  "luminance": 0.0478
}

Semantic roles & 50–950 ramp

primary
#2B29A4
secondary
#C0C168
accent
#E345E1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #2B29A4

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

Preview Lab → · Contrast checker → · Palette generator →

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