#2E41AA#2E41AA

#2E41AA is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.9% C 0.169 H 269.8°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#2E41AA
RGBrgb(46, 65, 170)
HSLhsl(231, 57%, 42%)
HSVhsv(231, 73%, 67%)
CMYKcmyk(72.9%, 61.8%, 0%, 33.3%)
CIE-LABlab(32.40, 29.54, -58.45)
CIE-LCHlch(32.40, 65.49, 296.81°)
OKLaboklab(42.88% -0.0005 -0.1688)
OKLCHoklch(42.88% 0.169 269.8)
XYZxyz(10.2702, 7.2627, 38.8830)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E41AA #AA972E
analogous
#2E7FAA #2E41AA #592EAA
triadic
#2E41AA #AA2E41 #41AA2E
tetradic
#2E41AA #AA2E7F #AA972E #2EAA59
square
#2E41AA #AA2E7F #AA972E #2EAA59
split-complementary
#2E41AA #AA592E #7FAA2E
monochromatic
#141C4A #212F7A #2E41AA #485CCD #7887DA

Accessibility & contrast

On white

8.56
#2E41AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#2E41AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E41AA
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E41AA#FFFFFF#000000##FFFFFF
##2E41AA1.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AD
Deuteranopia (green-blind)
#0047A8
Tritanopia (blue-blind)
#005C6F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2e41aa;
/* rgb */ color: rgb(46, 65, 170);
/* oklch */ color: oklch(42.9% 0.169 269.8);
Tailwind
colors: {
  custom: {
    50: '#7875c4',
    500: '#2e41aa',
    950: '#000000',
  },
}
SCSS
$custom: #2e41aa;
$custom-light: #7875c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e41aa",
  "rgb": {
    "r": 46,
    "g": 65,
    "b": 170
  },
  "hsl": {
    "h": 230.806,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.42875,
    "c": 0.16877,
    "h": 269.8
  },
  "luminance": 0.07264
}

Semantic roles & 50–950 ramp

primary
#2E41AA
secondary
#C3B671
accent
#C947E1
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2E41AA

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

Preview Lab → · Contrast checker → · Palette generator →

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