#2E3394#2E3394

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

Color values

HEX#2E3394
RGBrgb(46, 51, 148)
HSLhsl(237, 53%, 38%)
HSVhsv(237, 69%, 58%)
CMYKcmyk(68.9%, 65.5%, 0%, 42%)
CIE-LABlab(26.98, 30.67, -53.97)
CIE-LCHlch(26.98, 62.07, 299.61°)
OKLaboklab(38.3% 0.011 -0.1557)
OKLCHoklch(38.3% 0.156 274)
XYZxyz(7.6541, 5.0859, 28.5895)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3394 #948F2E
analogous
#2E6694 #2E3394 #5C2E94
triadic
#2E3394 #942E33 #33942E
tetradic
#2E3394 #942E66 #948F2E #2E945C
square
#2E3394 #942E66 #948F2E #2E945C
split-complementary
#2E3394 #945C2E #66942E
monochromatic
#111337 #1F2365 #2E3394 #3D43C3 #6B70D1

Accessibility & contrast

On white

10.41
#2E3394 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#2E3394 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3394
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3394#FFFFFF#000000##FFFFFF
##2E33941.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004497
Deuteranopia (green-blind)
#003B92
Tritanopia (blue-blind)
#004C5E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2e3394;
/* rgb */ color: rgb(46, 51, 148);
/* oklch */ color: oklch(38.3% 0.156 274.0);
Tailwind
colors: {
  custom: {
    50: '#756bb4',
    500: '#2e3394',
    950: '#000000',
  },
}
SCSS
$custom: #2e3394;
$custom-light: #756bb4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3394",
  "rgb": {
    "r": 46,
    "g": 51,
    "b": 148
  },
  "hsl": {
    "h": 237.059,
    "s": 52.577,
    "l": 38.039
  },
  "oklch": {
    "l": 0.38298,
    "c": 0.15614,
    "h": 274
  },
  "luminance": 0.05087
}

Semantic roles & 50–950 ramp

primary
#2E3394
secondary
#B8B466
accent
#D54CDC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2E3394

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

Preview Lab → · Contrast checker → · Palette generator →

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