#2E429F#2E429F

#2E429F is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.1% C 0.152 H 269.5°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#2E429F
RGBrgb(46, 66, 159)
HSLhsl(229, 55%, 40%)
HSVhsv(229, 71%, 62%)
CMYKcmyk(71.1%, 58.5%, 0%, 37.6%)
CIE-LABlab(31.76, 24.79, -52.87)
CIE-LCHlch(31.76, 58.40, 295.12°)
OKLaboklab(42.12% -0.0013 -0.1524)
OKLCHoklch(42.12% 0.152 269.5)
XYZxyz(9.3308, 6.9795, 33.6496)
Luminance0.0698 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E429F #9F8B2E
analogous
#2E7A9F #2E429F #532E9F
triadic
#2E429F #9F2E42 #429F2E
tetradic
#2E429F #9F2E7A #9F8B2E #2E9F53
square
#2E429F #9F2E7A #9F8B2E #2E9F53
split-complementary
#2E429F #9F532E #7A9F2E
monochromatic
#131B40 #202E70 #2E429F #425AC8 #7183D6

Accessibility & contrast

On white

8.76
#2E429F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#2E429F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E429F
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E429F#FFFFFF#000000##FFFFFF
##2E429F1.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A2
Deuteranopia (green-blind)
#00469D
Tritanopia (blue-blind)
#00596A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2e429f;
/* rgb */ color: rgb(46, 66, 159);
/* oklch */ color: oklch(42.1% 0.152 269.5);
Tailwind
colors: {
  custom: {
    50: '#7676bc',
    500: '#2e429f',
    950: '#000000',
  },
}
SCSS
$custom: #2e429f;
$custom-light: #7676bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2e429f",
  "rgb": {
    "r": 46,
    "g": 66,
    "b": 159
  },
  "hsl": {
    "h": 229.381,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.42121,
    "c": 0.15239,
    "h": 269.5
  },
  "luminance": 0.0698
}

Semantic roles & 50–950 ramp

primary
#2E429F
secondary
#BEAF6B
accent
#C449DE
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2E429F

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

Preview Lab → · Contrast checker → · Palette generator →

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