#2E419D#2E419D

#2E419D is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.8% C 0.151 H 269.8°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#2E419D
RGBrgb(46, 65, 157)
HSLhsl(230, 55%, 40%)
HSVhsv(230, 71%, 62%)
CMYKcmyk(70.7%, 58.6%, 0%, 38.4%)
CIE-LABlab(31.34, 24.71, -52.35)
CIE-LCHlch(31.34, 57.89, 295.27°)
OKLaboklab(41.75% -0.0006 -0.1509)
OKLCHoklch(41.75% 0.151 269.8)
XYZxyz(9.1007, 6.7949, 32.7237)
Luminance0.0680 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E419D #9D8A2E
analogous
#2E789D #2E419D #532E9D
triadic
#2E419D #9D2E41 #419D2E
tetradic
#2E419D #9D2E78 #9D8A2E #2E9D53
square
#2E419D #9D2E78 #9D8A2E #2E9D53
split-complementary
#2E419D #9D532E #789D2E
monochromatic
#121A3E #202D6E #2E419D #4158C7 #7082D5

Accessibility & contrast

On white

8.90
#2E419D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#2E419D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E419D
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E419D#FFFFFF#000000##FFFFFF
##2E419D1.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e419d;
/* rgb */ color: rgb(46, 65, 157);
/* oklch */ color: oklch(41.8% 0.151 269.8);
Tailwind
colors: {
  custom: {
    50: '#7575bb',
    500: '#2e419d',
    950: '#000000',
  },
}
SCSS
$custom: #2e419d;
$custom-light: #7575bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2e419d",
  "rgb": {
    "r": 46,
    "g": 65,
    "b": 157
  },
  "hsl": {
    "h": 229.73,
    "s": 54.68,
    "l": 39.804
  },
  "oklch": {
    "l": 0.41754,
    "c": 0.15087,
    "h": 269.8
  },
  "luminance": 0.06796
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E419D

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

Preview Lab → · Contrast checker → · Palette generator →

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