#2E41A4#2E41A4

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

Color values

HEX#2E41A4
RGBrgb(46, 65, 164)
HSLhsl(230, 56%, 41%)
HSVhsv(230, 72%, 64%)
CMYKcmyk(72%, 60.4%, 0%, 35.7%)
CIE-LABlab(31.90, 27.32, -55.66)
CIE-LCHlch(31.90, 62.00, 296.14°)
OKLaboklab(42.35% -0.0005 -0.1606)
OKLCHoklch(42.35% 0.161 269.8)
XYZxyz(9.7156, 7.0408, 35.9617)
Luminance0.0704 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E41A4 #A4912E
analogous
#2E7CA4 #2E41A4 #562EA4
triadic
#2E41A4 #A42E41 #41A42E
tetradic
#2E41A4 #A42E7C #A4912E #2EA456
square
#2E41A4 #A42E7C #A4912E #2EA456
split-complementary
#2E41A4 #A4562E #7CA42E
monochromatic
#131B44 #212E74 #2E41A4 #455ACB #7484D8

Accessibility & contrast

On white

8.72
#2E41A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#2E41A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E41A4
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E41A4#FFFFFF#000000##FFFFFF
##2E41A41.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A7
Deuteranopia (green-blind)
#0046A2
Tritanopia (blue-blind)
#005A6C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2e41a4;
/* rgb */ color: rgb(46, 65, 164);
/* oklch */ color: oklch(42.4% 0.161 269.8);
Tailwind
colors: {
  custom: {
    50: '#7775c0',
    500: '#2e41a4',
    950: '#000000',
  },
}
SCSS
$custom: #2e41a4;
$custom-light: #7775c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e41a4",
  "rgb": {
    "r": 46,
    "g": 65,
    "b": 164
  },
  "hsl": {
    "h": 230.339,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.42351,
    "c": 0.16059,
    "h": 269.8
  },
  "luminance": 0.07042
}

Semantic roles & 50–950 ramp

primary
#2E41A4
secondary
#C0B36E
accent
#C748DF
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2E41A4

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

Preview Lab → · Contrast checker → · Palette generator →

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