#2E29B2#2E29B2

#2E29B2 is a dark, highly saturated blue. Relative luminance 0.054; OKLCH L 39.8% C 0.205 H 273.4°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#2E29B2
RGBrgb(46, 41, 178)
HSLhsl(242, 63%, 43%)
HSVhsv(242, 77%, 70%)
CMYKcmyk(74.2%, 77%, 0%, 30.2%)
CIE-LABlab(27.79, 46.92, -70.80)
CIE-LCHlch(27.79, 84.94, 303.53°)
OKLaboklab(39.78% 0.0123 -0.2049)
OKLCHoklch(39.78% 0.205 273.4)
XYZxyz(9.9529, 5.3801, 42.6248)
Luminance0.0538 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E29B2 #ADB229
analogous
#2968B2 #2E29B2 #7329B2
triadic
#2E29B2 #B22E29 #29B22E
tetradic
#2E29B2 #B22968 #ADB229 #29B273
square
#2E29B2 #B22968 #ADB229 #29B273
split-complementary
#2E29B2 #B27329 #68B229
monochromatic
#14124F #211E80 #2E29B2 #4944D4 #7A76DF

Accessibility & contrast

On white

10.11
#2E29B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#2E29B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E29B2
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E29B2#FFFFFF#000000##FFFFFF
##2E29B21.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e29b2;
/* rgb */ color: rgb(46, 41, 178);
/* oklch */ color: oklch(39.8% 0.205 273.4);
Tailwind
colors: {
  custom: {
    50: '#7c65ca',
    500: '#2e29b2',
    950: '#000000',
  },
}
SCSS
$custom: #2e29b2;
$custom-light: #7c65ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2e29b2",
  "rgb": {
    "r": 46,
    "g": 41,
    "b": 178
  },
  "hsl": {
    "h": 242.19,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.39778,
    "c": 0.20523,
    "h": 273.4
  },
  "luminance": 0.05381
}

Semantic roles & 50–950 ramp

primary
#2E29B2
secondary
#C4C770
accent
#E642E0
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2E29B2

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

Preview Lab → · Contrast checker → · Palette generator →

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