#2E41A3#2E41A3

#2E41A3 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.3% C 0.159 H 269.8°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#2E41A3
RGBrgb(46, 65, 163)
HSLhsl(230, 56%, 41%)
HSVhsv(230, 72%, 64%)
CMYKcmyk(71.8%, 60.1%, 0%, 36.1%)
CIE-LABlab(31.82, 26.95, -55.19)
CIE-LCHlch(31.82, 61.42, 296.02°)
OKLaboklab(42.27% -0.0005 -0.1592)
OKLCHoklch(42.27% 0.159 269.8)
XYZxyz(9.6256, 7.0048, 35.4880)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E41A3 #A3902E
analogous
#2E7BA3 #2E41A3 #552EA3
triadic
#2E41A3 #A32E41 #41A32E
tetradic
#2E41A3 #A32E7B #A3902E #2EA355
square
#2E41A3 #A32E7B #A3902E #2EA355
split-complementary
#2E41A3 #A3552E #7BA32E
monochromatic
#131B44 #212E73 #2E41A3 #445ACA #7484D8

Accessibility & contrast

On white

8.75
#2E41A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#2E41A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E41A3
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E41A3#FFFFFF#000000##FFFFFF
##2E41A31.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A6
Deuteranopia (green-blind)
#0046A1
Tritanopia (blue-blind)
#005A6B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2e41a3;
/* rgb */ color: rgb(46, 65, 163);
/* oklch */ color: oklch(42.3% 0.159 269.8);
Tailwind
colors: {
  custom: {
    50: '#7775bf',
    500: '#2e41a3',
    950: '#000000',
  },
}
SCSS
$custom: #2e41a3;
$custom-light: #7775bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2e41a3",
  "rgb": {
    "r": 46,
    "g": 65,
    "b": 163
  },
  "hsl": {
    "h": 230.256,
    "s": 55.981,
    "l": 40.98
  },
  "oklch": {
    "l": 0.42265,
    "c": 0.15921,
    "h": 269.8
  },
  "luminance": 0.07006
}

Semantic roles & 50–950 ramp

primary
#2E41A3
secondary
#BFB26D
accent
#C749DF
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2E41A3

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

Preview Lab → · Contrast checker → · Palette generator →

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