#2E429E#2E429E

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

Color values

HEX#2E429E
RGBrgb(46, 66, 158)
HSLhsl(229, 55%, 40%)
HSVhsv(229, 71%, 62%)
CMYKcmyk(70.9%, 58.2%, 0%, 38%)
CIE-LABlab(31.68, 24.42, -52.40)
CIE-LCHlch(31.68, 57.81, 294.99°)
OKLaboklab(42.04% -0.0014 -0.151)
OKLCHoklch(42.04% 0.151 269.5)
XYZxyz(9.2444, 6.9450, 33.1945)
Luminance0.0695 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E429E #9E8A2E
analogous
#2E7A9E #2E429E #522E9E
triadic
#2E429E #9E2E42 #429E2E
tetradic
#2E429E #9E2E7A #9E8A2E #2E9E52
square
#2E429E #9E2E7A #9E8A2E #2E9E52
split-complementary
#2E429E #9E522E #7A9E2E
monochromatic
#121A3F #202E6F #2E429E #4159C8 #7183D6

Accessibility & contrast

On white

8.79
#2E429E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#2E429E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E429E
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E429E#FFFFFF#000000##FFFFFF
##2E429E1.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A1
Deuteranopia (green-blind)
#00469C
Tritanopia (blue-blind)
#005969
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2e429e;
/* rgb */ color: rgb(46, 66, 158);
/* oklch */ color: oklch(42.0% 0.151 269.5);
Tailwind
colors: {
  custom: {
    50: '#7676bb',
    500: '#2e429e',
    950: '#000000',
  },
}
SCSS
$custom: #2e429e;
$custom-light: #7676bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2e429e",
  "rgb": {
    "r": 46,
    "g": 66,
    "b": 158
  },
  "hsl": {
    "h": 229.286,
    "s": 54.902,
    "l": 40
  },
  "oklch": {
    "l": 0.42037,
    "c": 0.15099,
    "h": 269.5
  },
  "luminance": 0.06946
}

Semantic roles & 50–950 ramp

primary
#2E429E
secondary
#BDAE6B
accent
#C44ADE
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2E429E

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

Preview Lab → · Contrast checker → · Palette generator →

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