#2B29A5#2B29A5

#2B29A5 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.2% C 0.190 H 273.4°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#2B29A5
RGBrgb(43, 41, 165)
HSLhsl(241, 60%, 40%)
HSVhsv(241, 75%, 65%)
CMYKcmyk(73.9%, 75.2%, 0%, 35.3%)
CIE-LABlab(26.20, 42.38, -65.62)
CIE-LCHlch(26.20, 78.12, 302.85°)
OKLaboklab(38.19% 0.0113 -0.1898)
OKLCHoklch(38.19% 0.19 273.4)
XYZxyz(8.5785, 4.8152, 36.0673)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B29A5 #A3A529
analogous
#2965A5 #2B29A5 #6929A5
triadic
#2B29A5 #A52B29 #29A52B
tetradic
#2B29A5 #A52965 #A3A529 #29A569
square
#2B29A5 #A52965 #A3A529 #29A569
split-complementary
#2B29A5 #A56929 #65A529
monochromatic
#111143 #1E1D74 #2B29A5 #3F3DCF #6F6EDB

Accessibility & contrast

On white

10.70
#2B29A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B29A5
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B29A5#FFFFFF#000000##FFFFFF
##2B29A51.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A9
Deuteranopia (green-blind)
#0038A3
Tritanopia (blue-blind)
#004D65
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2b29a5;
/* rgb */ color: rgb(43, 41, 165);
/* oklch */ color: oklch(38.2% 0.190 273.4);
Tailwind
colors: {
  custom: {
    50: '#7864c1',
    500: '#2b29a5',
    950: '#000000',
  },
}
SCSS
$custom: #2b29a5;
$custom-light: #7864c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b29a5",
  "rgb": {
    "r": 43,
    "g": 41,
    "b": 165
  },
  "hsl": {
    "h": 240.968,
    "s": 60.194,
    "l": 40.392
  },
  "oklch": {
    "l": 0.3819,
    "c": 0.19018,
    "h": 273.4
  },
  "luminance": 0.04816
}

Semantic roles & 50–950 ramp

primary
#2B29A5
secondary
#C0C268
accent
#E344E1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2B29A5

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

Preview Lab → · Contrast checker → · Palette generator →

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