#2E3BAE#2E3BAE

#2E3BAE is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.1% C 0.181 H 271.1°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#2E3BAE
RGBrgb(46, 59, 174)
HSLhsl(234, 58%, 43%)
HSVhsv(234, 74%, 68%)
CMYKcmyk(73.6%, 66.1%, 0%, 31.8%)
CIE-LABlab(31.26, 34.88, -62.70)
CIE-LCHlch(31.26, 71.75, 299.09°)
OKLaboklab(42.15% 0.0034 -0.1813)
OKLCHoklch(42.15% 0.181 271.1)
XYZxyz(10.3281, 6.7637, 40.7974)
Luminance0.0677 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3BAE #AEA12E
analogous
#2E7BAE #2E3BAE #612EAE
triadic
#2E3BAE #AE2E3B #3BAE2E
tetradic
#2E3BAE #AE2E7B #AEA12E #2EAE61
square
#2E3BAE #AE2E7B #AEA12E #2EAE61
split-complementary
#2E3BAE #AE612E #7BAE2E
monochromatic
#141A4D #212B7E #2E3BAE #4A58CF #7A84DC

Accessibility & contrast

On white

8.92
#2E3BAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#2E3BAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3BAE
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3BAE#FFFFFF#000000##FFFFFF
##2E3BAE1.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B2
Deuteranopia (green-blind)
#0044AC
Tritanopia (blue-blind)
#00596F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2e3bae;
/* rgb */ color: rgb(46, 59, 174);
/* oklch */ color: oklch(42.1% 0.181 271.1);
Tailwind
colors: {
  custom: {
    50: '#7a71c7',
    500: '#2e3bae',
    950: '#000000',
  },
}
SCSS
$custom: #2e3bae;
$custom-light: #7a71c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3bae",
  "rgb": {
    "r": 46,
    "g": 59,
    "b": 174
  },
  "hsl": {
    "h": 233.906,
    "s": 58.182,
    "l": 43.137
  },
  "oklch": {
    "l": 0.42149,
    "c": 0.1813,
    "h": 271.1
  },
  "luminance": 0.06765
}

Semantic roles & 50–950 ramp

primary
#2E3BAE
secondary
#C4BC74
accent
#D246E1
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2E3BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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