#2E41B7#2E41B7

#2E41B7 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 44.0% C 0.186 H 269.7°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#2E41B7
RGBrgb(46, 65, 183)
HSLhsl(232, 60%, 45%)
HSVhsv(232, 75%, 72%)
CMYKcmyk(74.9%, 64.5%, 0%, 28.2%)
CIE-LABlab(33.52, 34.30, -64.35)
CIE-LCHlch(33.52, 72.92, 298.06°)
OKLaboklab(44.05% -0.001 -0.1861)
OKLCHoklch(44.05% 0.186 269.7)
XYZxyz(11.5613, 7.7791, 45.6828)
Luminance0.0778 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E41B7 #B7A42E
analogous
#2E85B7 #2E41B7 #602EB7
triadic
#2E41B7 #B72E41 #41B72E
tetradic
#2E41B7 #B72E85 #B7A42E #2EB760
square
#2E41B7 #B72E85 #B7A42E #2EB760
split-complementary
#2E41B7 #B7602E #85B72E
monochromatic
#151E55 #223086 #2E41B7 #4F62D3 #808DDF

Accessibility & contrast

On white

8.22
#2E41B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#2E41B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E41B7
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E41B7#FFFFFF#000000##FFFFFF
##2E41B71.008.222.568.22
#FFFFFF8.221.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BB
Deuteranopia (green-blind)
#0048B5
Tritanopia (blue-blind)
#006076
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2e41b7;
/* rgb */ color: rgb(46, 65, 183);
/* oklch */ color: oklch(44.0% 0.186 269.7);
Tailwind
colors: {
  custom: {
    50: '#7b75ce',
    500: '#2e41b7',
    950: '#000000',
  },
}
SCSS
$custom: #2e41b7;
$custom-light: #7b75ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2e41b7",
  "rgb": {
    "r": 46,
    "g": 65,
    "b": 183
  },
  "hsl": {
    "h": 231.679,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.44048,
    "c": 0.18606,
    "h": 269.7
  },
  "luminance": 0.0778
}

Semantic roles & 50–950 ramp

primary
#2E41B7
secondary
#C8BD79
accent
#CD45E3
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #2E41B7

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

Preview Lab → · Contrast checker → · Palette generator →

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