#2E29A5#2E29A5

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

Color values

HEX#2E29A5
RGBrgb(46, 41, 165)
HSLhsl(242, 60%, 40%)
HSVhsv(242, 75%, 65%)
CMYKcmyk(72.1%, 75.2%, 0%, 35.3%)
CIE-LABlab(26.40, 42.67, -65.29)
CIE-LCHlch(26.40, 78.00, 303.16°)
OKLaboklab(38.38% 0.015 -0.1888)
OKLCHoklch(38.38% 0.189 274.5)
XYZxyz(8.7089, 4.8825, 36.0735)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E29A5 #A0A529
analogous
#2962A5 #2E29A5 #6C29A5
triadic
#2E29A5 #A52E29 #29A52E
tetradic
#2E29A5 #A52962 #A0A529 #29A56C
square
#2E29A5 #A52962 #A0A529 #29A56C
split-complementary
#2E29A5 #A56C29 #62A529
monochromatic
#131143 #201D74 #2E29A5 #423DCF #726EDB

Accessibility & contrast

On white

10.62
#2E29A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E29A5
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E29A5#FFFFFF#000000##FFFFFF
##2E29A51.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A9
Deuteranopia (green-blind)
#0039A3
Tritanopia (blue-blind)
#004D65
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2e29a5;
/* rgb */ color: rgb(46, 41, 165);
/* oklch */ color: oklch(38.4% 0.189 274.5);
Tailwind
colors: {
  custom: {
    50: '#7965c1',
    500: '#2e29a5',
    950: '#000000',
  },
}
SCSS
$custom: #2e29a5;
$custom-light: #7965c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e29a5",
  "rgb": {
    "r": 46,
    "g": 41,
    "b": 165
  },
  "hsl": {
    "h": 242.419,
    "s": 60.194,
    "l": 40.392
  },
  "oklch": {
    "l": 0.38381,
    "c": 0.18942,
    "h": 274.5
  },
  "luminance": 0.04883
}

Semantic roles & 50–950 ramp

primary
#2E29A5
secondary
#BEC268
accent
#E344DD
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #2E29A5

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

Preview Lab → · Contrast checker → · Palette generator →

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