#2E429D#2E429D

#2E429D is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.0% C 0.150 H 269.5°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#2E429D
RGBrgb(46, 66, 157)
HSLhsl(229, 55%, 40%)
HSVhsv(229, 71%, 62%)
CMYKcmyk(70.7%, 58%, 0%, 38.4%)
CIE-LABlab(31.60, 24.04, -51.92)
CIE-LCHlch(31.60, 57.22, 294.85°)
OKLaboklab(41.95% -0.0014 -0.1496)
OKLCHoklch(41.95% 0.15 269.5)
XYZxyz(9.1586, 6.9107, 32.7430)
Luminance0.0691 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E429D #9D892E
analogous
#2E7A9D #2E429D #512E9D
triadic
#2E429D #9D2E42 #429D2E
tetradic
#2E429D #9D2E7A #9D892E #2E9D51
square
#2E429D #9D2E7A #9D892E #2E9D51
split-complementary
#2E429D #9D512E #7A9D2E
monochromatic
#121A3E #202E6E #2E429D #4159C7 #7082D5

Accessibility & contrast

On white

8.81
#2E429D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#2E429D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E429D
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E429D#FFFFFF#000000##FFFFFF
##2E429D1.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A0
Deuteranopia (green-blind)
#00459B
Tritanopia (blue-blind)
#005869
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2e429d;
/* rgb */ color: rgb(46, 66, 157);
/* oklch */ color: oklch(42.0% 0.150 269.5);
Tailwind
colors: {
  custom: {
    50: '#7576bb',
    500: '#2e429d',
    950: '#000000',
  },
}
SCSS
$custom: #2e429d;
$custom-light: #7576bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2e429d",
  "rgb": {
    "r": 46,
    "g": 66,
    "b": 157
  },
  "hsl": {
    "h": 229.189,
    "s": 54.68,
    "l": 39.804
  },
  "oklch": {
    "l": 0.41954,
    "c": 0.14959,
    "h": 269.5
  },
  "luminance": 0.06912
}

Semantic roles & 50–950 ramp

primary
#2E429D
secondary
#BDAE6A
accent
#C34ADE
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2E429D

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

Preview Lab → · Contrast checker → · Palette generator →

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