#2E3EB4#2E3EB4

#2E3EB4 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.2% C 0.186 H 270.3°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#2E3EB4
RGBrgb(46, 62, 180)
HSLhsl(233, 59%, 44%)
HSVhsv(233, 74%, 71%)
CMYKcmyk(74.4%, 65.6%, 0%, 29.4%)
CIE-LABlab(32.52, 35.13, -64.20)
CIE-LCHlch(32.52, 73.18, 298.69°)
OKLaboklab(43.24% 0.0011 -0.1856)
OKLCHoklch(43.24% 0.186 270.3)
XYZxyz(11.0847, 7.3202, 43.9999)
Luminance0.0732 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3EB4 #B4A42E
analogous
#2E81B4 #2E3EB4 #612EB4
triadic
#2E3EB4 #B42E3E #3EB42E
tetradic
#2E3EB4 #B42E81 #B4A42E #2EB461
square
#2E3EB4 #B42E81 #B4A42E #2EB461
split-complementary
#2E3EB4 #B4612E #81B42E
monochromatic
#151C53 #222D83 #2E3EB4 #4E5DD2 #7E8ADE

Accessibility & contrast

On white

8.52
#2E3EB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#2E3EB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3EB4
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3EB4#FFFFFF#000000##FFFFFF
##2E3EB41.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B8
Deuteranopia (green-blind)
#0046B2
Tritanopia (blue-blind)
#005D73
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2e3eb4;
/* rgb */ color: rgb(46, 62, 180);
/* oklch */ color: oklch(43.2% 0.186 270.3);
Tailwind
colors: {
  custom: {
    50: '#7b73cb',
    500: '#2e3eb4',
    950: '#000000',
  },
}
SCSS
$custom: #2e3eb4;
$custom-light: #7b73cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3eb4",
  "rgb": {
    "r": 46,
    "g": 62,
    "b": 180
  },
  "hsl": {
    "h": 232.836,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.43238,
    "c": 0.18564,
    "h": 270.3
  },
  "luminance": 0.07321
}

Semantic roles & 50–950 ramp

primary
#2E3EB4
secondary
#C7BD77
accent
#D045E2
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #2E3EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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