#2E29A8#2E29A8

#2E29A8 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.7% C 0.193 H 274.3°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#2E29A8
RGBrgb(46, 41, 168)
HSLhsl(242, 61%, 41%)
HSVhsv(242, 76%, 66%)
CMYKcmyk(72.6%, 75.6%, 0%, 34.1%)
CIE-LABlab(26.71, 43.66, -66.58)
CIE-LCHlch(26.71, 79.62, 303.25°)
OKLaboklab(38.7% 0.0144 -0.1926)
OKLCHoklch(38.7% 0.193 274.3)
XYZxyz(8.9852, 4.9930, 37.5284)
Luminance0.0499 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E29A8 #A3A829
analogous
#2963A8 #2E29A8 #6D29A8
triadic
#2E29A8 #A82E29 #29A82E
tetradic
#2E29A8 #A82963 #A3A829 #29A86D
square
#2E29A8 #A82963 #A3A829 #29A86D
split-complementary
#2E29A8 #A86D29 #63A829
monochromatic
#131146 #211D77 #2E29A8 #443ED0 #746FDC

Accessibility & contrast

On white

10.51
#2E29A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#2E29A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E29A8
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E29A8#FFFFFF#000000##FFFFFF
##2E29A81.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AC
Deuteranopia (green-blind)
#0039A6
Tritanopia (blue-blind)
#004E67
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2e29a8;
/* rgb */ color: rgb(46, 41, 168);
/* oklch */ color: oklch(38.7% 0.193 274.3);
Tailwind
colors: {
  custom: {
    50: '#7a65c3',
    500: '#2e29a8',
    950: '#000000',
  },
}
SCSS
$custom: #2e29a8;
$custom-light: #7a65c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e29a8",
  "rgb": {
    "r": 46,
    "g": 41,
    "b": 168
  },
  "hsl": {
    "h": 242.362,
    "s": 60.766,
    "l": 40.98
  },
  "oklch": {
    "l": 0.387,
    "c": 0.19312,
    "h": 274.3
  },
  "luminance": 0.04994
}

Semantic roles & 50–950 ramp

primary
#2E29A8
secondary
#BFC36A
accent
#E444DE
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2E29A8

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

Preview Lab → · Contrast checker → · Palette generator →

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