#2E409F#2E409F

#2E409F is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.7% C 0.155 H 270.1°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#2E409F
RGBrgb(46, 64, 159)
HSLhsl(230, 55%, 40%)
HSVhsv(230, 71%, 62%)
CMYKcmyk(71.1%, 59.7%, 0%, 37.6%)
CIE-LABlab(31.23, 26.13, -53.74)
CIE-LCHlch(31.23, 59.75, 295.93°)
OKLaboklab(41.73% 0.0003 -0.1549)
OKLCHoklch(41.73% 0.155 270.1)
XYZxyz(9.2160, 6.7499, 33.6113)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E409F #9F8D2E
analogous
#2E799F #2E409F #542E9F
triadic
#2E409F #9F2E40 #409F2E
tetradic
#2E409F #9F2E79 #9F8D2E #2E9F54
square
#2E409F #9F2E79 #9F8D2E #2E9F54
split-complementary
#2E409F #9F542E #799F2E
monochromatic
#131A40 #202D70 #2E409F #4257C8 #7181D6

Accessibility & contrast

On white

8.94
#2E409F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#2E409F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E409F
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E409F#FFFFFF#000000##FFFFFF
##2E409F1.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA2
Deuteranopia (green-blind)
#00449D
Tritanopia (blue-blind)
#005869
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2e409f;
/* rgb */ color: rgb(46, 64, 159);
/* oklch */ color: oklch(41.7% 0.155 270.1);
Tailwind
colors: {
  custom: {
    50: '#7674bc',
    500: '#2e409f',
    950: '#000000',
  },
}
SCSS
$custom: #2e409f;
$custom-light: #7674bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2e409f",
  "rgb": {
    "r": 46,
    "g": 64,
    "b": 159
  },
  "hsl": {
    "h": 230.442,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.41726,
    "c": 0.15494,
    "h": 270.1
  },
  "luminance": 0.06751
}

Semantic roles & 50–950 ramp

primary
#2E409F
secondary
#BEB06B
accent
#C749DE
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2E409F

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

Preview Lab → · Contrast checker → · Palette generator →

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