#2E419B#2E419B

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

Color values

HEX#2E419B
RGBrgb(46, 65, 155)
HSLhsl(230, 54%, 39%)
HSVhsv(230, 70%, 61%)
CMYKcmyk(70.3%, 58.1%, 0%, 39.2%)
CIE-LABlab(31.18, 23.97, -51.40)
CIE-LCHlch(31.18, 56.71, 295.00°)
OKLaboklab(41.59% -0.0006 -0.1481)
OKLCHoklch(41.59% 0.148 269.8)
XYZxyz(8.9314, 6.7271, 31.8318)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E419B #9B882E
analogous
#2E789B #2E419B #512E9B
triadic
#2E419B #9B2E41 #419B2E
tetradic
#2E419B #9B2E78 #9B882E #2E9B51
square
#2E419B #9B2E78 #9B882E #2E9B51
split-complementary
#2E419B #9B512E #789B2E
monochromatic
#12193D #202D6C #2E419B #4057C6 #6F81D4

Accessibility & contrast

On white

8.95
#2E419B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E419B
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E419B#FFFFFF#000000##FFFFFF
##2E419B1.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e419b;
/* rgb */ color: rgb(46, 65, 155);
/* oklch */ color: oklch(41.6% 0.148 269.8);
Tailwind
colors: {
  custom: {
    50: '#7575b9',
    500: '#2e419b',
    950: '#000000',
  },
}
SCSS
$custom: #2e419b;
$custom-light: #7575b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e419b",
  "rgb": {
    "r": 46,
    "g": 65,
    "b": 155
  },
  "hsl": {
    "h": 229.541,
    "s": 54.229,
    "l": 39.412
  },
  "oklch": {
    "l": 0.41586,
    "c": 0.14806,
    "h": 269.8
  },
  "luminance": 0.06728
}

Semantic roles & 50–950 ramp

primary
#2E419B
secondary
#BCAD69
accent
#C44ADE
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2E419B

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

Preview Lab → · Contrast checker → · Palette generator →

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