#2E41B1#2E41B1

#2E41B1 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.5% C 0.178 H 269.8°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#2E41B1
RGBrgb(46, 65, 177)
HSLhsl(231, 59%, 44%)
HSVhsv(231, 74%, 69%)
CMYKcmyk(74%, 63.3%, 0%, 30.6%)
CIE-LABlab(32.99, 32.11, -61.65)
CIE-LCHlch(32.99, 69.51, 297.51°)
OKLaboklab(43.5% -0.0007 -0.1781)
OKLCHoklch(43.5% 0.178 269.8)
XYZxyz(10.9501, 7.5346, 42.4637)
Luminance0.0754 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E41B1 #B19E2E
analogous
#2E82B1 #2E41B1 #5C2EB1
triadic
#2E41B1 #B12E41 #41B12E
tetradic
#2E41B1 #B12E82 #B19E2E #2EB15C
square
#2E41B1 #B12E82 #B19E2E #2EB15C
split-complementary
#2E41B1 #B15C2E #82B12E
monochromatic
#151D50 #212F80 #2E41B1 #4C5FD0 #7C8ADD

Accessibility & contrast

On white

8.38
#2E41B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#2E41B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E41B1
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E41B1#FFFFFF#000000##FFFFFF
##2E41B11.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B5
Deuteranopia (green-blind)
#0048AF
Tritanopia (blue-blind)
#005E73
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2e41b1;
/* rgb */ color: rgb(46, 65, 177);
/* oklch */ color: oklch(43.5% 0.178 269.8);
Tailwind
colors: {
  custom: {
    50: '#7a75c9',
    500: '#2e41b1',
    950: '#000000',
  },
}
SCSS
$custom: #2e41b1;
$custom-light: #7a75c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e41b1",
  "rgb": {
    "r": 46,
    "g": 65,
    "b": 177
  },
  "hsl": {
    "h": 231.298,
    "s": 58.744,
    "l": 43.725
  },
  "oklch": {
    "l": 0.43501,
    "c": 0.17815,
    "h": 269.8
  },
  "luminance": 0.07536
}

Semantic roles & 50–950 ramp

primary
#2E41B1
secondary
#C6BA75
accent
#CB46E2
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #2E41B1

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

Preview Lab → · Contrast checker → · Palette generator →

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