#2E41A0#2E41A0

#2E41A0 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.0% C 0.155 H 269.8°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#2E41A0
RGBrgb(46, 65, 160)
HSLhsl(230, 55%, 40%)
HSVhsv(230, 71%, 63%)
CMYKcmyk(71.2%, 59.4%, 0%, 37.3%)
CIE-LABlab(31.57, 25.83, -53.78)
CIE-LCHlch(31.57, 59.66, 295.66°)
OKLaboklab(42.01% -0.0005 -0.1551)
OKLCHoklch(42.01% 0.155 269.8)
XYZxyz(9.3600, 6.8986, 34.0892)
Luminance0.0690 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E41A0 #A08D2E
analogous
#2E7AA0 #2E41A0 #542EA0
triadic
#2E41A0 #A02E41 #41A02E
tetradic
#2E41A0 #A02E7A #A08D2E #2EA054
square
#2E41A0 #A02E7A #A08D2E #2EA054
split-complementary
#2E41A0 #A0542E #7AA02E
monochromatic
#131A41 #202E70 #2E41A0 #4259C9 #7283D6

Accessibility & contrast

On white

8.82
#2E41A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#2E41A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E41A0
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E41A0#FFFFFF#000000##FFFFFF
##2E41A01.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A3
Deuteranopia (green-blind)
#00459E
Tritanopia (blue-blind)
#00596A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2e41a0;
/* rgb */ color: rgb(46, 65, 160);
/* oklch */ color: oklch(42.0% 0.155 269.8);
Tailwind
colors: {
  custom: {
    50: '#7675bd',
    500: '#2e41a0',
    950: '#000000',
  },
}
SCSS
$custom: #2e41a0;
$custom-light: #7675bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2e41a0",
  "rgb": {
    "r": 46,
    "g": 65,
    "b": 160
  },
  "hsl": {
    "h": 230,
    "s": 55.34,
    "l": 40.392
  },
  "oklch": {
    "l": 0.42008,
    "c": 0.15506,
    "h": 269.8
  },
  "luminance": 0.069
}

Semantic roles & 50–950 ramp

primary
#2E41A0
secondary
#BEB06C
accent
#C649DF
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2E41A0

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

Preview Lab → · Contrast checker → · Palette generator →

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