#2B29B2#2B29B2

#2B29B2 is a dark, highly saturated blue. Relative luminance 0.053; OKLCH L 39.6% C 0.206 H 272.4°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#2B29B2
RGBrgb(43, 41, 178)
HSLhsl(241, 63%, 43%)
HSVhsv(241, 77%, 70%)
CMYKcmyk(75.8%, 77%, 0%, 30.2%)
CIE-LABlab(27.61, 46.67, -71.11)
CIE-LCHlch(27.61, 85.06, 303.28°)
OKLaboklab(39.6% 0.0087 -0.2058)
OKLCHoklch(39.6% 0.206 272.4)
XYZxyz(9.8224, 5.3128, 42.6187)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B29B2 #B0B229
analogous
#296BB2 #2B29B2 #6F29B2
triadic
#2B29B2 #B22B29 #29B22B
tetradic
#2B29B2 #B2296B #B0B229 #29B26F
square
#2B29B2 #B2296B #B0B229 #29B26F
split-complementary
#2B29B2 #B26F29 #6BB229
monochromatic
#13124F #1F1E80 #2B29B2 #4644D4 #7876DF

Accessibility & contrast

On white

10.18
#2B29B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#2B29B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B29B2
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B29B2#FFFFFF#000000##FFFFFF
##2B29B21.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B6
Deuteranopia (green-blind)
#003AB0
Tritanopia (blue-blind)
#00526C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2b29b2;
/* rgb */ color: rgb(43, 41, 178);
/* oklch */ color: oklch(39.6% 0.206 272.4);
Tailwind
colors: {
  custom: {
    50: '#7b65ca',
    500: '#2b29b2',
    950: '#000000',
  },
}
SCSS
$custom: #2b29b2;
$custom-light: #7b65ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2b29b2",
  "rgb": {
    "r": 43,
    "g": 41,
    "b": 178
  },
  "hsl": {
    "h": 240.876,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.396,
    "c": 0.20601,
    "h": 272.4
  },
  "luminance": 0.05314
}

Semantic roles & 50–950 ramp

primary
#2B29B2
secondary
#C6C770
accent
#E642E3
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2B29B2

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

Preview Lab → · Contrast checker → · Palette generator →

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