#2E409A#2E409A

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

Color values

HEX#2E409A
RGBrgb(46, 64, 154)
HSLhsl(230, 54%, 39%)
HSVhsv(230, 70%, 60%)
CMYKcmyk(70.1%, 58.4%, 0%, 39.6%)
CIE-LABlab(30.83, 24.26, -51.35)
CIE-LCHlch(30.83, 56.80, 295.29°)
OKLaboklab(41.3% 0.0002 -0.1479)
OKLCHoklch(41.3% 0.148 270.1)
XYZxyz(8.7909, 6.5799, 31.3723)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E409A #9A882E
analogous
#2E769A #2E409A #522E9A
triadic
#2E409A #9A2E40 #409A2E
tetradic
#2E409A #9A2E76 #9A882E #2E9A52
square
#2E409A #9A2E76 #9A882E #2E9A52
split-complementary
#2E409A #9A522E #769A2E
monochromatic
#12193C #202C6B #2E409A #3F56C6 #6F7FD4

Accessibility & contrast

On white

9.07
#2E409A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E409A
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E409A#FFFFFF#000000##FFFFFF
##2E409A1.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9D
Deuteranopia (green-blind)
#004498
Tritanopia (blue-blind)
#005666
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2e409a;
/* rgb */ color: rgb(46, 64, 154);
/* oklch */ color: oklch(41.3% 0.148 270.1);
Tailwind
colors: {
  custom: {
    50: '#7574b8',
    500: '#2e409a',
    950: '#000000',
  },
}
SCSS
$custom: #2e409a;
$custom-light: #7574b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2e409a",
  "rgb": {
    "r": 46,
    "g": 64,
    "b": 154
  },
  "hsl": {
    "h": 230,
    "s": 54,
    "l": 39.216
  },
  "oklch": {
    "l": 0.41303,
    "c": 0.14794,
    "h": 270.1
  },
  "luminance": 0.06581
}

Semantic roles & 50–950 ramp

primary
#2E409A
secondary
#BBAD69
accent
#C54ADD
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2E409A

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

Preview Lab → · Contrast checker → · Palette generator →

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