#2E41B4#2E41B4

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

Color values

HEX#2E41B4
RGBrgb(46, 65, 180)
HSLhsl(231, 59%, 44%)
HSVhsv(231, 74%, 71%)
CMYKcmyk(74.4%, 63.9%, 0%, 29.4%)
CIE-LABlab(33.25, 33.21, -63.00)
CIE-LCHlch(33.25, 71.22, 297.79°)
OKLaboklab(43.77% -0.0008 -0.1821)
OKLCHoklch(43.77% 0.182 269.7)
XYZxyz(11.2524, 7.6555, 44.0558)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E41B4 #B4A12E
analogous
#2E84B4 #2E41B4 #5E2EB4
triadic
#2E41B4 #B42E41 #41B42E
tetradic
#2E41B4 #B42E84 #B4A12E #2EB45E
square
#2E41B4 #B42E84 #B4A12E #2EB45E
split-complementary
#2E41B4 #B45E2E #84B42E
monochromatic
#151E53 #222F83 #2E41B4 #4E60D2 #7E8CDE

Accessibility & contrast

On white

8.30
#2E41B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#2E41B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E41B4
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E41B4#FFFFFF#000000##FFFFFF
##2E41B41.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B8
Deuteranopia (green-blind)
#0048B2
Tritanopia (blue-blind)
#005F74
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2e41b4;
/* rgb */ color: rgb(46, 65, 180);
/* oklch */ color: oklch(43.8% 0.182 269.7);
Tailwind
colors: {
  custom: {
    50: '#7b75cb',
    500: '#2e41b4',
    950: '#000000',
  },
}
SCSS
$custom: #2e41b4;
$custom-light: #7b75cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2e41b4",
  "rgb": {
    "r": 46,
    "g": 65,
    "b": 180
  },
  "hsl": {
    "h": 231.493,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.43773,
    "c": 0.18212,
    "h": 269.7
  },
  "luminance": 0.07657
}

Semantic roles & 50–950 ramp

primary
#2E41B4
secondary
#C7BB77
accent
#CC45E2
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #2E41B4

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

Preview Lab → · Contrast checker → · Palette generator →

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