#2C29A2#2C29A2

#2C29A2 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.9% C 0.186 H 274.0°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#2C29A2
RGBrgb(44, 41, 162)
HSLhsl(241, 60%, 40%)
HSVhsv(241, 75%, 64%)
CMYKcmyk(72.8%, 74.7%, 0%, 36.5%)
CIE-LABlab(25.95, 41.47, -64.22)
CIE-LCHlch(25.95, 76.44, 302.85°)
OKLaboklab(37.93% 0.0131 -0.1857)
OKLCHoklch(37.93% 0.186 274)
XYZxyz(8.3511, 4.7292, 34.6481)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C29A2 #9FA229
analogous
#2962A2 #2C29A2 #6929A2
triadic
#2C29A2 #A22C29 #29A22C
tetradic
#2C29A2 #A22962 #9FA229 #29A269
square
#2C29A2 #A22962 #9FA229 #29A269
split-complementary
#2C29A2 #A26929 #62A229
monochromatic
#111040 #1F1D71 #2C29A2 #3E3BCD #6E6CDA

Accessibility & contrast

On white

10.79
#2C29A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#2C29A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C29A2
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C29A2#FFFFFF#000000##FFFFFF
##2C29A21.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A6
Deuteranopia (green-blind)
#0038A0
Tritanopia (blue-blind)
#004C63
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2c29a2;
/* rgb */ color: rgb(44, 41, 162);
/* oklch */ color: oklch(37.9% 0.186 274.0);
Tailwind
colors: {
  custom: {
    50: '#7864bf',
    500: '#2c29a2',
    950: '#000000',
  },
}
SCSS
$custom: #2c29a2;
$custom-light: #7864bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2c29a2",
  "rgb": {
    "r": 44,
    "g": 41,
    "b": 162
  },
  "hsl": {
    "h": 241.488,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.37933,
    "c": 0.1862,
    "h": 274
  },
  "luminance": 0.0473
}

Semantic roles & 50–950 ramp

primary
#2C29A2
secondary
#BEC067
accent
#E345DF
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #2C29A2

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

Preview Lab → · Contrast checker → · Palette generator →

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