#2E3EB5#2E3EB5

#2E3EB5 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.3% C 0.187 H 270.3°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#2E3EB5
RGBrgb(46, 62, 181)
HSLhsl(233, 59%, 45%)
HSVhsv(233, 75%, 71%)
CMYKcmyk(74.6%, 65.7%, 0%, 29%)
CIE-LABlab(32.62, 35.49, -64.64)
CIE-LCHlch(32.62, 73.74, 298.76°)
OKLaboklab(43.33% 0.001 -0.1869)
OKLCHoklch(43.33% 0.187 270.3)
XYZxyz(11.1870, 7.3611, 44.5384)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3EB5 #B5A52E
analogous
#2E82B5 #2E3EB5 #622EB5
triadic
#2E3EB5 #B52E3E #3EB52E
tetradic
#2E3EB5 #B52E82 #B5A52E #2EB562
square
#2E3EB5 #B52E82 #B5A52E #2EB562
split-complementary
#2E3EB5 #B5622E #82B52E
monochromatic
#151D53 #222D84 #2E3EB5 #4E5ED2 #7F8ADE

Accessibility & contrast

On white

8.49
#2E3EB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#2E3EB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3EB5
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3EB5#FFFFFF#000000##FFFFFF
##2E3EB51.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B9
Deuteranopia (green-blind)
#0046B3
Tritanopia (blue-blind)
#005E74
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2e3eb5;
/* rgb */ color: rgb(46, 62, 181);
/* oklch */ color: oklch(43.3% 0.187 270.3);
Tailwind
colors: {
  custom: {
    50: '#7b73cc',
    500: '#2e3eb5',
    950: '#000000',
  },
}
SCSS
$custom: #2e3eb5;
$custom-light: #7b73cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3eb5",
  "rgb": {
    "r": 46,
    "g": 62,
    "b": 181
  },
  "hsl": {
    "h": 232.889,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.43331,
    "c": 0.18695,
    "h": 270.3
  },
  "luminance": 0.07362
}

Semantic roles & 50–950 ramp

primary
#2E3EB5
secondary
#C7BE78
accent
#D045E3
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #2E3EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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