#2E3296#2E3296

#2E3296 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.3% C 0.160 H 274.1°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#2E3296
RGBrgb(46, 50, 150)
HSLhsl(238, 53%, 38%)
HSVhsv(238, 69%, 59%)
CMYKcmyk(69.3%, 66.7%, 0%, 41.2%)
CIE-LABlab(26.91, 32.03, -55.30)
CIE-LCHlch(26.91, 63.91, 300.08°)
OKLaboklab(38.31% 0.0116 -0.1597)
OKLCHoklch(38.31% 0.16 274.1)
XYZxyz(7.7705, 5.0633, 29.4161)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3296 #96922E
analogous
#2E6696 #2E3296 #5E2E96
triadic
#2E3296 #962E32 #32962E
tetradic
#2E3296 #962E66 #96922E #2E965E
square
#2E3296 #962E66 #96922E #2E965E
split-complementary
#2E3296 #965E2E #66962E
monochromatic
#111338 #202267 #2E3296 #3E43C4 #6C70D2

Accessibility & contrast

On white

10.43
#2E3296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#2E3296 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3296
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3296#FFFFFF#000000##FFFFFF
##2E32961.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004499
Deuteranopia (green-blind)
#003B94
Tritanopia (blue-blind)
#004C5F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2e3296;
/* rgb */ color: rgb(46, 50, 150);
/* oklch */ color: oklch(38.3% 0.160 274.1);
Tailwind
colors: {
  custom: {
    50: '#756ab6',
    500: '#2e3296',
    950: '#000000',
  },
}
SCSS
$custom: #2e3296;
$custom-light: #756ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3296",
  "rgb": {
    "r": 46,
    "g": 50,
    "b": 150
  },
  "hsl": {
    "h": 237.692,
    "s": 53.061,
    "l": 38.431
  },
  "oklch": {
    "l": 0.38307,
    "c": 0.16008,
    "h": 274.1
  },
  "luminance": 0.05064
}

Semantic roles & 50–950 ramp

primary
#2E3296
secondary
#B9B667
accent
#D74BDC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2E3296

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

Preview Lab → · Contrast checker → · Palette generator →

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