#2E419A#2E419A

#2E419A is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.5% C 0.147 H 269.7°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#2E419A
RGBrgb(46, 65, 154)
HSLhsl(229, 54%, 39%)
HSVhsv(229, 70%, 60%)
CMYKcmyk(70.1%, 57.8%, 0%, 39.6%)
CIE-LABlab(31.10, 23.59, -50.92)
CIE-LCHlch(31.10, 56.12, 294.86°)
OKLaboklab(41.5% -0.0006 -0.1466)
OKLCHoklch(41.5% 0.147 269.7)
XYZxyz(8.8478, 6.6937, 31.3913)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E419A #9A872E
analogous
#2E779A #2E419A #512E9A
triadic
#2E419A #9A2E41 #419A2E
tetradic
#2E419A #9A2E77 #9A872E #2E9A51
square
#2E419A #9A2E77 #9A872E #2E9A51
split-complementary
#2E419A #9A512E #779A2E
monochromatic
#12193C #202D6B #2E419A #3F57C6 #6F80D4

Accessibility & contrast

On white

8.98
#2E419A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E419A
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E419A#FFFFFF#000000##FFFFFF
##2E419A1.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e419a;
/* rgb */ color: rgb(46, 65, 154);
/* oklch */ color: oklch(41.5% 0.147 269.7);
Tailwind
colors: {
  custom: {
    50: '#7575b8',
    500: '#2e419a',
    950: '#000000',
  },
}
SCSS
$custom: #2e419a;
$custom-light: #7575b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2e419a",
  "rgb": {
    "r": 46,
    "g": 65,
    "b": 154
  },
  "hsl": {
    "h": 229.444,
    "s": 54,
    "l": 39.216
  },
  "oklch": {
    "l": 0.41503,
    "c": 0.14665,
    "h": 269.7
  },
  "luminance": 0.06695
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E419A

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

Preview Lab → · Contrast checker → · Palette generator →

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