#2E409D#2E409D

#2E409D is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.6% C 0.152 H 270.1°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#2E409D
RGBrgb(46, 64, 157)
HSLhsl(230, 55%, 40%)
HSVhsv(230, 71%, 62%)
CMYKcmyk(70.7%, 59.2%, 0%, 38.4%)
CIE-LABlab(31.07, 25.38, -52.79)
CIE-LCHlch(31.07, 58.57, 295.68°)
OKLaboklab(41.56% 0.0003 -0.1521)
OKLCHoklch(41.56% 0.152 270.1)
XYZxyz(9.0438, 6.6811, 32.7047)
Luminance0.0668 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E409D #9D8B2E
analogous
#2E789D #2E409D #532E9D
triadic
#2E409D #9D2E40 #409D2E
tetradic
#2E409D #9D2E78 #9D8B2E #2E9D53
square
#2E409D #9D2E78 #9D8B2E #2E9D53
split-complementary
#2E409D #9D532E #789D2E
monochromatic
#12193E #202D6E #2E409D #4157C7 #7081D5

Accessibility & contrast

On white

8.99
#2E409D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#2E409D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E409D
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E409D#FFFFFF#000000##FFFFFF
##2E409D1.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA0
Deuteranopia (green-blind)
#00449B
Tritanopia (blue-blind)
#005768
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2e409d;
/* rgb */ color: rgb(46, 64, 157);
/* oklch */ color: oklch(41.6% 0.152 270.1);
Tailwind
colors: {
  custom: {
    50: '#7674bb',
    500: '#2e409d',
    950: '#000000',
  },
}
SCSS
$custom: #2e409d;
$custom-light: #7674bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2e409d",
  "rgb": {
    "r": 46,
    "g": 64,
    "b": 157
  },
  "hsl": {
    "h": 230.27,
    "s": 54.68,
    "l": 39.804
  },
  "oklch": {
    "l": 0.41556,
    "c": 0.15215,
    "h": 270.1
  },
  "luminance": 0.06682
}

Semantic roles & 50–950 ramp

primary
#2E409D
secondary
#BDAF6A
accent
#C64ADE
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2E409D

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

Preview Lab → · Contrast checker → · Palette generator →

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