#2C29A8#2C29A8

#2C29A8 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.6% C 0.194 H 273.5°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#2C29A8
RGBrgb(44, 41, 168)
HSLhsl(241, 61%, 41%)
HSVhsv(241, 76%, 66%)
CMYKcmyk(73.8%, 75.6%, 0%, 34.1%)
CIE-LABlab(26.59, 43.47, -66.80)
CIE-LCHlch(26.59, 79.70, 303.05°)
OKLaboklab(38.57% 0.0119 -0.1933)
OKLCHoklch(38.57% 0.194 273.5)
XYZxyz(8.8972, 4.9476, 37.5243)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C29A8 #A5A829
analogous
#2965A8 #2C29A8 #6B29A8
triadic
#2C29A8 #A82C29 #29A82C
tetradic
#2C29A8 #A82965 #A5A829 #29A86B
square
#2C29A8 #A82965 #A5A829 #29A86B
split-complementary
#2C29A8 #A86B29 #65A829
monochromatic
#121146 #1F1D77 #2C29A8 #423ED0 #726FDC

Accessibility & contrast

On white

10.55
#2C29A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#2C29A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C29A8
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C29A8#FFFFFF#000000##FFFFFF
##2C29A81.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AC
Deuteranopia (green-blind)
#0039A6
Tritanopia (blue-blind)
#004E67
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2c29a8;
/* rgb */ color: rgb(44, 41, 168);
/* oklch */ color: oklch(38.6% 0.194 273.5);
Tailwind
colors: {
  custom: {
    50: '#7965c3',
    500: '#2c29a8',
    950: '#000000',
  },
}
SCSS
$custom: #2c29a8;
$custom-light: #7965c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c29a8",
  "rgb": {
    "r": 44,
    "g": 41,
    "b": 168
  },
  "hsl": {
    "h": 241.417,
    "s": 60.766,
    "l": 40.98
  },
  "oklch": {
    "l": 0.38574,
    "c": 0.19363,
    "h": 273.5
  },
  "luminance": 0.04949
}

Semantic roles & 50–950 ramp

primary
#2C29A8
secondary
#C1C36A
accent
#E444E0
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2C29A8

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

Preview Lab → · Contrast checker → · Palette generator →

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