#2E41AC#2E41AC

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

Color values

HEX#2E41AC
RGBrgb(46, 65, 172)
HSLhsl(231, 58%, 43%)
HSVhsv(231, 73%, 67%)
CMYKcmyk(73.3%, 62.2%, 0%, 32.5%)
CIE-LABlab(32.57, 30.28, -59.37)
CIE-LCHlch(32.57, 66.64, 297.02°)
OKLaboklab(43.05% -0.0006 -0.1715)
OKLCHoklch(43.05% 0.171 269.8)
XYZxyz(10.4609, 7.3389, 39.8870)
Luminance0.0734 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E41AC #AC992E
analogous
#2E80AC #2E41AC #5A2EAC
triadic
#2E41AC #AC2E41 #41AC2E
tetradic
#2E41AC #AC2E80 #AC992E #2EAC5A
square
#2E41AC #AC2E80 #AC992E #2EAC5A
split-complementary
#2E41AC #AC5A2E #80AC2E
monochromatic
#141D4B #212F7C #2E41AC #495DCE #7988DB

Accessibility & contrast

On white

8.51
#2E41AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#2E41AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E41AC
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E41AC#FFFFFF#000000##FFFFFF
##2E41AC1.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AF
Deuteranopia (green-blind)
#0047AA
Tritanopia (blue-blind)
#005C70
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2e41ac;
/* rgb */ color: rgb(46, 65, 172);
/* oklch */ color: oklch(43.1% 0.171 269.8);
Tailwind
colors: {
  custom: {
    50: '#7975c6',
    500: '#2e41ac',
    950: '#000000',
  },
}
SCSS
$custom: #2e41ac;
$custom-light: #7975c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2e41ac",
  "rgb": {
    "r": 46,
    "g": 65,
    "b": 172
  },
  "hsl": {
    "h": 230.952,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.43052,
    "c": 0.17147,
    "h": 269.8
  },
  "luminance": 0.0734
}

Semantic roles & 50–950 ramp

primary
#2E41AC
secondary
#C3B772
accent
#CA47E1
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2E41AC

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

Preview Lab → · Contrast checker → · Palette generator →

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