#2E29A6#2E29A6

#2E29A6 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.5% C 0.191 H 274.5°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#2E29A6
RGBrgb(46, 41, 166)
HSLhsl(242, 60%, 41%)
HSVhsv(242, 75%, 65%)
CMYKcmyk(72.3%, 75.3%, 0%, 34.9%)
CIE-LABlab(26.50, 43.00, -65.72)
CIE-LCHlch(26.50, 78.54, 303.19°)
OKLaboklab(38.49% 0.0148 -0.1901)
OKLCHoklch(38.49% 0.191 274.5)
XYZxyz(8.8003, 4.9190, 36.5547)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E29A6 #A1A629
analogous
#2962A6 #2E29A6 #6C29A6
triadic
#2E29A6 #A62E29 #29A62E
tetradic
#2E29A6 #A62962 #A1A629 #29A66C
square
#2E29A6 #A62962 #A1A629 #29A66C
split-complementary
#2E29A6 #A66C29 #62A629
monochromatic
#131144 #201D75 #2E29A6 #433DCF #736EDB

Accessibility & contrast

On white

10.58
#2E29A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#2E29A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E29A6
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E29A6#FFFFFF#000000##FFFFFF
##2E29A61.0010.581.9810.58
#FFFFFF10.581.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AA
Deuteranopia (green-blind)
#0039A4
Tritanopia (blue-blind)
#004D65
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2e29a6;
/* rgb */ color: rgb(46, 41, 166);
/* oklch */ color: oklch(38.5% 0.191 274.5);
Tailwind
colors: {
  custom: {
    50: '#7a65c2',
    500: '#2e29a6',
    950: '#000000',
  },
}
SCSS
$custom: #2e29a6;
$custom-light: #7a65c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2e29a6",
  "rgb": {
    "r": 46,
    "g": 41,
    "b": 166
  },
  "hsl": {
    "h": 242.4,
    "s": 60.386,
    "l": 40.588
  },
  "oklch": {
    "l": 0.38487,
    "c": 0.19066,
    "h": 274.5
  },
  "luminance": 0.0492
}

Semantic roles & 50–950 ramp

primary
#2E29A6
secondary
#BEC269
accent
#E444DD
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2E29A6

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

Preview Lab → · Contrast checker → · Palette generator →

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