#2E3294#2E3294

#2E3294 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.1% C 0.157 H 274.3°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#2E3294
RGBrgb(46, 50, 148)
HSLhsl(238, 53%, 38%)
HSVhsv(238, 69%, 58%)
CMYKcmyk(68.9%, 66.2%, 0%, 42%)
CIE-LABlab(26.73, 31.31, -54.37)
CIE-LCHlch(26.73, 62.74, 299.94°)
OKLaboklab(38.12% 0.0117 -0.1569)
OKLCHoklch(38.12% 0.157 274.3)
XYZxyz(7.6108, 4.9995, 28.5751)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3294 #94902E
analogous
#2E6594 #2E3294 #5D2E94
triadic
#2E3294 #942E32 #32942E
tetradic
#2E3294 #942E65 #94902E #2E945D
square
#2E3294 #942E65 #94902E #2E945D
split-complementary
#2E3294 #945D2E #65942E
monochromatic
#111237 #1F2265 #2E3294 #3D42C3 #6B6FD1

Accessibility & contrast

On white

10.50
#2E3294 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#2E3294 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3294
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3294#FFFFFF#000000##FFFFFF
##2E32941.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004497
Deuteranopia (green-blind)
#003B92
Tritanopia (blue-blind)
#004B5E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2e3294;
/* rgb */ color: rgb(46, 50, 148);
/* oklch */ color: oklch(38.1% 0.157 274.3);
Tailwind
colors: {
  custom: {
    50: '#756ab4',
    500: '#2e3294',
    950: '#000000',
  },
}
SCSS
$custom: #2e3294;
$custom-light: #756ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3294",
  "rgb": {
    "r": 46,
    "g": 50,
    "b": 148
  },
  "hsl": {
    "h": 237.647,
    "s": 52.577,
    "l": 38.039
  },
  "oklch": {
    "l": 0.38119,
    "c": 0.15737,
    "h": 274.3
  },
  "luminance": 0.05
}

Semantic roles & 50–950 ramp

primary
#2E3294
secondary
#B8B566
accent
#D64CDC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2E3294

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

Preview Lab → · Contrast checker → · Palette generator →

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