#2E429C#2E429C

#2E429C is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.9% C 0.148 H 269.4°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#2E429C
RGBrgb(46, 66, 156)
HSLhsl(229, 54%, 40%)
HSVhsv(229, 71%, 61%)
CMYKcmyk(70.5%, 57.7%, 0%, 38.8%)
CIE-LABlab(31.52, 23.67, -51.44)
CIE-LCHlch(31.52, 56.62, 294.71°)
OKLaboklab(41.87% -0.0014 -0.1482)
OKLCHoklch(41.87% 0.148 269.4)
XYZxyz(9.0736, 6.8767, 32.2952)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E429C #9C882E
analogous
#2E799C #2E429C #512E9C
triadic
#2E429C #9C2E42 #429C2E
tetradic
#2E429C #9C2E79 #9C882E #2E9C51
square
#2E429C #9C2E79 #9C882E #2E9C51
split-complementary
#2E429C #9C512E #799C2E
monochromatic
#121A3D #202E6D #2E429C #4059C7 #7082D5

Accessibility & contrast

On white

8.84
#2E429C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E429C
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E429C#FFFFFF#000000##FFFFFF
##2E429C1.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9F
Deuteranopia (green-blind)
#00459A
Tritanopia (blue-blind)
#005868
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2e429c;
/* rgb */ color: rgb(46, 66, 156);
/* oklch */ color: oklch(41.9% 0.148 269.4);
Tailwind
colors: {
  custom: {
    50: '#7576ba',
    500: '#2e429c',
    950: '#000000',
  },
}
SCSS
$custom: #2e429c;
$custom-light: #7576ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2e429c",
  "rgb": {
    "r": 46,
    "g": 66,
    "b": 156
  },
  "hsl": {
    "h": 229.091,
    "s": 54.455,
    "l": 39.608
  },
  "oklch": {
    "l": 0.41871,
    "c": 0.14818,
    "h": 269.4
  },
  "luminance": 0.06878
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E429C

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

Preview Lab → · Contrast checker → · Palette generator →

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