#2E41B2#2E41B2

#2E41B2 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.6% C 0.179 H 269.8°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#2E41B2
RGBrgb(46, 65, 178)
HSLhsl(231, 59%, 44%)
HSVhsv(231, 74%, 70%)
CMYKcmyk(74.2%, 63.5%, 0%, 30.2%)
CIE-LABlab(33.08, 32.48, -62.10)
CIE-LCHlch(33.08, 70.08, 297.61°)
OKLaboklab(43.59% -0.0007 -0.1795)
OKLCHoklch(43.59% 0.179 269.8)
XYZxyz(11.0501, 7.5746, 42.9905)
Luminance0.0758 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E41B2 #B29F2E
analogous
#2E83B2 #2E41B2 #5D2EB2
triadic
#2E41B2 #B22E41 #41B22E
tetradic
#2E41B2 #B22E83 #B29F2E #2EB25D
square
#2E41B2 #B22E83 #B29F2E #2EB25D
split-complementary
#2E41B2 #B25D2E #83B22E
monochromatic
#151D51 #212F81 #2E41B2 #4C5FD1 #7D8BDD

Accessibility & contrast

On white

8.35
#2E41B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#2E41B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E41B2
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E41B2#FFFFFF#000000##FFFFFF
##2E41B21.008.352.528.35
#FFFFFF8.351.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e41b2;
/* rgb */ color: rgb(46, 65, 178);
/* oklch */ color: oklch(43.6% 0.179 269.8);
Tailwind
colors: {
  custom: {
    50: '#7a75ca',
    500: '#2e41b2',
    950: '#000000',
  },
}
SCSS
$custom: #2e41b2;
$custom-light: #7a75ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2e41b2",
  "rgb": {
    "r": 46,
    "g": 65,
    "b": 178
  },
  "hsl": {
    "h": 231.364,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.43591,
    "c": 0.17948,
    "h": 269.8
  },
  "luminance": 0.07576
}

Semantic roles & 50–950 ramp

primary
#2E41B2
secondary
#C6BA76
accent
#CC46E2
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #2E41B2

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

Preview Lab → · Contrast checker → · Palette generator →

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