#2E41B5#2E41B5

#2E41B5 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.9% C 0.183 H 269.7°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#2E41B5
RGBrgb(46, 65, 181)
HSLhsl(232, 59%, 45%)
HSVhsv(232, 75%, 71%)
CMYKcmyk(74.6%, 64.1%, 0%, 29%)
CIE-LABlab(33.34, 33.57, -63.45)
CIE-LCHlch(33.34, 71.79, 297.88°)
OKLaboklab(43.86% -0.0009 -0.1834)
OKLCHoklch(43.86% 0.183 269.7)
XYZxyz(11.3546, 7.6964, 44.5942)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E41B5 #B5A22E
analogous
#2E84B5 #2E41B5 #5F2EB5
triadic
#2E41B5 #B52E41 #41B52E
tetradic
#2E41B5 #B52E84 #B5A22E #2EB55F
square
#2E41B5 #B52E84 #B5A22E #2EB55F
split-complementary
#2E41B5 #B55F2E #84B52E
monochromatic
#151E53 #222F84 #2E41B5 #4E61D2 #7F8CDE

Accessibility & contrast

On white

8.27
#2E41B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#2E41B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E41B5
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E41B5#FFFFFF#000000##FFFFFF
##2E41B51.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B9
Deuteranopia (green-blind)
#0048B3
Tritanopia (blue-blind)
#005F75
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2e41b5;
/* rgb */ color: rgb(46, 65, 181);
/* oklch */ color: oklch(43.9% 0.183 269.7);
Tailwind
colors: {
  custom: {
    50: '#7b75cc',
    500: '#2e41b5',
    950: '#000000',
  },
}
SCSS
$custom: #2e41b5;
$custom-light: #7b75cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2e41b5",
  "rgb": {
    "r": 46,
    "g": 65,
    "b": 181
  },
  "hsl": {
    "h": 231.556,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.43864,
    "c": 0.18344,
    "h": 269.7
  },
  "luminance": 0.07698
}

Semantic roles & 50–950 ramp

primary
#2E41B5
secondary
#C7BC78
accent
#CC45E3
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #2E41B5

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

Preview Lab → · Contrast checker → · Palette generator →

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