#2B29AA#2B29AA

#2B29AA is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.7% C 0.196 H 273.0°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#2B29AA
RGBrgb(43, 41, 170)
HSLhsl(241, 61%, 41%)
HSVhsv(241, 76%, 67%)
CMYKcmyk(74.7%, 75.9%, 0%, 33.3%)
CIE-LABlab(26.74, 44.04, -67.76)
CIE-LCHlch(26.74, 80.81, 303.03°)
OKLaboklab(38.73% 0.0103 -0.1961)
OKLCHoklch(38.73% 0.196 273)
XYZxyz(9.0425, 5.0008, 38.5111)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B29AA #A8AA29
analogous
#2968AA #2B29AA #6C29AA
triadic
#2B29AA #AA2B29 #29AA2B
tetradic
#2B29AA #AA2968 #A8AA29 #29AA6C
square
#2B29AA #AA2968 #A8AA29 #29AA6C
split-complementary
#2B29AA #AA6C29 #68AA29
monochromatic
#121147 #1F1D79 #2B29AA #423FD1 #7271DD

Accessibility & contrast

On white

10.50
#2B29AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#2B29AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B29AA
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B29AA#FFFFFF#000000##FFFFFF
##2B29AA1.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AE
Deuteranopia (green-blind)
#0039A8
Tritanopia (blue-blind)
#004F68
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2b29aa;
/* rgb */ color: rgb(43, 41, 170);
/* oklch */ color: oklch(38.7% 0.196 273.0);
Tailwind
colors: {
  custom: {
    50: '#7965c5',
    500: '#2b29aa',
    950: '#000000',
  },
}
SCSS
$custom: #2b29aa;
$custom-light: #7965c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b29aa",
  "rgb": {
    "r": 43,
    "g": 41,
    "b": 170
  },
  "hsl": {
    "h": 240.93,
    "s": 61.137,
    "l": 41.373
  },
  "oklch": {
    "l": 0.38728,
    "c": 0.19633,
    "h": 273
  },
  "luminance": 0.05002
}

Semantic roles & 50–950 ramp

primary
#2B29AA
secondary
#C2C46B
accent
#E444E2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2B29AA

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

Preview Lab → · Contrast checker → · Palette generator →

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