#2E29AC#2E29AC

#2E29AC is a dark, vivid blue. Relative luminance 0.051; OKLCH L 39.1% C 0.198 H 273.9°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#2E29AC
RGBrgb(46, 41, 172)
HSLhsl(242, 62%, 42%)
HSVhsv(242, 76%, 67%)
CMYKcmyk(73.3%, 76.2%, 0%, 32.5%)
CIE-LABlab(27.14, 44.97, -68.28)
CIE-LCHlch(27.14, 81.76, 303.37°)
OKLaboklab(39.13% 0.0136 -0.1975)
OKLCHoklch(39.13% 0.198 273.9)
XYZxyz(9.3636, 5.1443, 39.5212)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E29AC #A7AC29
analogous
#2966AC #2E29AC #7029AC
triadic
#2E29AC #AC2E29 #29AC2E
tetradic
#2E29AC #AC2966 #A7AC29 #29AC70
square
#2E29AC #AC2966 #A7AC29 #29AC70
split-complementary
#2E29AC #AC7029 #66AC29
monochromatic
#141149 #211D7B #2E29AC #4641D2 #7672DD

Accessibility & contrast

On white

10.35
#2E29AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#2E29AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E29AC
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E29AC#FFFFFF#000000##FFFFFF
##2E29AC1.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B0
Deuteranopia (green-blind)
#003AAA
Tritanopia (blue-blind)
#005069
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2e29ac;
/* rgb */ color: rgb(46, 41, 172);
/* oklch */ color: oklch(39.1% 0.198 273.9);
Tailwind
colors: {
  custom: {
    50: '#7b65c6',
    500: '#2e29ac',
    950: '#000000',
  },
}
SCSS
$custom: #2e29ac;
$custom-light: #7b65c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2e29ac",
  "rgb": {
    "r": 46,
    "g": 41,
    "b": 172
  },
  "hsl": {
    "h": 242.29,
    "s": 61.502,
    "l": 41.765
  },
  "oklch": {
    "l": 0.39128,
    "c": 0.198,
    "h": 273.9
  },
  "luminance": 0.05145
}

Semantic roles & 50–950 ramp

primary
#2E29AC
secondary
#C1C56C
accent
#E543DE
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2E29AC

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

Preview Lab → · Contrast checker → · Palette generator →

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