#2E29AB#2E29AB

#2E29AB is a dark, vivid blue. Relative luminance 0.051; OKLCH L 39.0% C 0.197 H 274.0°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#2E29AB
RGBrgb(46, 41, 171)
HSLhsl(242, 61%, 42%)
HSVhsv(242, 76%, 67%)
CMYKcmyk(73.1%, 76%, 0%, 32.9%)
CIE-LABlab(27.03, 44.64, -67.86)
CIE-LCHlch(27.03, 81.23, 303.34°)
OKLaboklab(39.02% 0.0138 -0.1963)
OKLCHoklch(39.02% 0.197 274)
XYZxyz(9.2679, 5.1061, 39.0173)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E29AB #A6AB29
analogous
#2965AB #2E29AB #6F29AB
triadic
#2E29AB #AB2E29 #29AB2E
tetradic
#2E29AB #AB2965 #A6AB29 #29AB6F
square
#2E29AB #AB2965 #A6AB29 #29AB6F
split-complementary
#2E29AB #AB6F29 #65AB29
monochromatic
#131148 #211D7A #2E29AB #4640D1 #7671DD

Accessibility & contrast

On white

10.39
#2E29AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#2E29AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E29AB
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E29AB#FFFFFF#000000##FFFFFF
##2E29AB1.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AF
Deuteranopia (green-blind)
#003AA9
Tritanopia (blue-blind)
#004F68
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2e29ab;
/* rgb */ color: rgb(46, 41, 171);
/* oklch */ color: oklch(39.0% 0.197 274.0);
Tailwind
colors: {
  custom: {
    50: '#7b65c5',
    500: '#2e29ab',
    950: '#000000',
  },
}
SCSS
$custom: #2e29ab;
$custom-light: #7b65c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e29ab",
  "rgb": {
    "r": 46,
    "g": 41,
    "b": 171
  },
  "hsl": {
    "h": 242.308,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.39021,
    "c": 0.19678,
    "h": 274
  },
  "luminance": 0.05107
}

Semantic roles & 50–950 ramp

primary
#2E29AB
secondary
#C1C46C
accent
#E443DE
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2E29AB

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

Preview Lab → · Contrast checker → · Palette generator →

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