#2C29B2#2C29B2

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

Color values

HEX#2C29B2
RGBrgb(44, 41, 178)
HSLhsl(241, 63%, 43%)
HSVhsv(241, 77%, 70%)
CMYKcmyk(75.3%, 77%, 0%, 30.2%)
CIE-LABlab(27.67, 46.75, -71.01)
CIE-LCHlch(27.67, 85.02, 303.36°)
OKLaboklab(39.66% 0.0099 -0.2055)
OKLCHoklch(39.66% 0.206 272.8)
XYZxyz(9.8648, 5.3347, 42.6206)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C29B2 #AFB229
analogous
#296AB2 #2C29B2 #7029B2
triadic
#2C29B2 #B22C29 #29B22C
tetradic
#2C29B2 #B2296A #AFB229 #29B270
square
#2C29B2 #B2296A #AFB229 #29B270
split-complementary
#2C29B2 #B27029 #6AB229
monochromatic
#13124F #201E80 #2C29B2 #4744D4 #7876DF

Accessibility & contrast

On white

10.16
#2C29B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#2C29B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C29B2
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C29B2#FFFFFF#000000##FFFFFF
##2C29B21.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c29b2;
/* rgb */ color: rgb(44, 41, 178);
/* oklch */ color: oklch(39.7% 0.206 272.8);
Tailwind
colors: {
  custom: {
    50: '#7c65ca',
    500: '#2c29b2',
    950: '#000000',
  },
}
SCSS
$custom: #2c29b2;
$custom-light: #7c65ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2c29b2",
  "rgb": {
    "r": 44,
    "g": 41,
    "b": 178
  },
  "hsl": {
    "h": 241.314,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.39658,
    "c": 0.20575,
    "h": 272.8
  },
  "luminance": 0.05336
}

Semantic roles & 50–950 ramp

primary
#2C29B2
secondary
#C5C770
accent
#E642E2
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2C29B2

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

Preview Lab → · Contrast checker → · Palette generator →

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