#2E409B#2E409B

#2E409B is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.4% C 0.149 H 270.1°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#2E409B
RGBrgb(46, 64, 155)
HSLhsl(230, 54%, 39%)
HSVhsv(230, 70%, 61%)
CMYKcmyk(70.3%, 58.7%, 0%, 39.2%)
CIE-LABlab(30.91, 24.63, -51.83)
CIE-LCHlch(30.91, 57.39, 295.42°)
OKLaboklab(41.39% 0.0002 -0.1493)
OKLCHoklch(41.39% 0.149 270.1)
XYZxyz(8.8745, 6.6133, 31.8128)
Luminance0.0661 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E409B #9B892E
analogous
#2E779B #2E409B #532E9B
triadic
#2E409B #9B2E40 #409B2E
tetradic
#2E409B #9B2E77 #9B892E #2E9B53
square
#2E409B #9B2E77 #9B892E #2E9B53
split-complementary
#2E409B #9B532E #779B2E
monochromatic
#12193D #202D6C #2E409B #4056C6 #6F80D4

Accessibility & contrast

On white

9.04
#2E409B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#2E409B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E409B
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E409B#FFFFFF#000000##FFFFFF
##2E409B1.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9E
Deuteranopia (green-blind)
#004499
Tritanopia (blue-blind)
#005667
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2e409b;
/* rgb */ color: rgb(46, 64, 155);
/* oklch */ color: oklch(41.4% 0.149 270.1);
Tailwind
colors: {
  custom: {
    50: '#7574b9',
    500: '#2e409b',
    950: '#000000',
  },
}
SCSS
$custom: #2e409b;
$custom-light: #7574b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e409b",
  "rgb": {
    "r": 46,
    "g": 64,
    "b": 155
  },
  "hsl": {
    "h": 230.092,
    "s": 54.229,
    "l": 39.412
  },
  "oklch": {
    "l": 0.41387,
    "c": 0.14935,
    "h": 270.1
  },
  "luminance": 0.06614
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E409B

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

Preview Lab → · Contrast checker → · Palette generator →

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