#2E29A2#2E29A2

#2E29A2 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.1% C 0.186 H 274.8°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#2E29A2
RGBrgb(46, 41, 162)
HSLhsl(242, 60%, 40%)
HSVhsv(242, 75%, 64%)
CMYKcmyk(71.6%, 74.7%, 0%, 36.5%)
CIE-LABlab(26.08, 41.67, -63.99)
CIE-LCHlch(26.08, 76.36, 303.07°)
OKLaboklab(38.06% 0.0156 -0.185)
OKLCHoklch(38.06% 0.186 274.8)
XYZxyz(8.4391, 4.7745, 34.6522)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E29A2 #9DA229
analogous
#2961A2 #2E29A2 #6A29A2
triadic
#2E29A2 #A22E29 #29A22E
tetradic
#2E29A2 #A22961 #9DA229 #29A26A
square
#2E29A2 #A22961 #9DA229 #29A26A
split-complementary
#2E29A2 #A26A29 #61A229
monochromatic
#121040 #201D71 #2E29A2 #413BCD #706CDA

Accessibility & contrast

On white

10.74
#2E29A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#2E29A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E29A2
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E29A2#FFFFFF#000000##FFFFFF
##2E29A21.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e29a2;
/* rgb */ color: rgb(46, 41, 162);
/* oklch */ color: oklch(38.1% 0.186 274.8);
Tailwind
colors: {
  custom: {
    50: '#7964bf',
    500: '#2e29a2',
    950: '#000000',
  },
}
SCSS
$custom: #2e29a2;
$custom-light: #7964bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2e29a2",
  "rgb": {
    "r": 46,
    "g": 41,
    "b": 162
  },
  "hsl": {
    "h": 242.479,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.38064,
    "c": 0.1857,
    "h": 274.8
  },
  "luminance": 0.04775
}

Semantic roles & 50–950 ramp

primary
#2E29A2
secondary
#BDC067
accent
#E345DC
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2E29A2

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

Preview Lab → · Contrast checker → · Palette generator →

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