#2E41A9#2E41A9

#2E41A9 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.8% C 0.167 H 269.8°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#2E41A9
RGBrgb(46, 65, 169)
HSLhsl(231, 57%, 42%)
HSVhsv(231, 73%, 66%)
CMYKcmyk(72.8%, 61.5%, 0%, 33.7%)
CIE-LABlab(32.31, 29.17, -57.99)
CIE-LCHlch(32.31, 64.91, 296.70°)
OKLaboklab(42.79% -0.0005 -0.1674)
OKLCHoklch(42.79% 0.167 269.8)
XYZxyz(10.1760, 7.2250, 38.3867)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E41A9 #A9962E
analogous
#2E7EA9 #2E41A9 #592EA9
triadic
#2E41A9 #A92E41 #41A92E
tetradic
#2E41A9 #A92E7E #A9962E #2EA959
square
#2E41A9 #A92E7E #A9962E #2EA959
split-complementary
#2E41A9 #A9592E #7EA92E
monochromatic
#141C49 #212E79 #2E41A9 #475CCD #7787DA

Accessibility & contrast

On white

8.59
#2E41A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E41A9
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E41A9#FFFFFF#000000##FFFFFF
##2E41A91.008.592.458.59
#FFFFFF8.591.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AC
Deuteranopia (green-blind)
#0046A7
Tritanopia (blue-blind)
#005B6E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2e41a9;
/* rgb */ color: rgb(46, 65, 169);
/* oklch */ color: oklch(42.8% 0.167 269.8);
Tailwind
colors: {
  custom: {
    50: '#7875c3',
    500: '#2e41a9',
    950: '#000000',
  },
}
SCSS
$custom: #2e41a9;
$custom-light: #7875c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e41a9",
  "rgb": {
    "r": 46,
    "g": 65,
    "b": 169
  },
  "hsl": {
    "h": 230.732,
    "s": 57.209,
    "l": 42.157
  },
  "oklch": {
    "l": 0.42787,
    "c": 0.16741,
    "h": 269.8
  },
  "luminance": 0.07226
}

Semantic roles & 50–950 ramp

primary
#2E41A9
secondary
#C2B671
accent
#C947E0
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2E41A9

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

Preview Lab → · Contrast checker → · Palette generator →

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