#2E3293#2E3293

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

Color values

HEX#2E3293
RGBrgb(46, 50, 147)
HSLhsl(238, 52%, 38%)
HSVhsv(238, 69%, 58%)
CMYKcmyk(68.7%, 66%, 0%, 42.4%)
CIE-LABlab(26.64, 30.96, -53.90)
CIE-LCHlch(26.64, 62.16, 299.87°)
OKLaboklab(38.03% 0.0118 -0.1556)
OKLCHoklch(38.03% 0.156 274.3)
XYZxyz(7.5320, 4.9679, 28.1601)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3293 #938F2E
analogous
#2E6493 #2E3293 #5D2E93
triadic
#2E3293 #932E32 #32932E
tetradic
#2E3293 #932E64 #938F2E #2E935D
square
#2E3293 #932E64 #938F2E #2E935D
split-complementary
#2E3293 #935D2E #64932E
monochromatic
#111236 #1F2264 #2E3293 #3D42C2 #6B6FD1

Accessibility & contrast

On white

10.53
#2E3293 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#2E3293 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3293
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3293#FFFFFF#000000##FFFFFF
##2E32931.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e3293;
/* rgb */ color: rgb(46, 50, 147);
/* oklch */ color: oklch(38.0% 0.156 274.3);
Tailwind
colors: {
  custom: {
    50: '#746ab4',
    500: '#2e3293',
    950: '#000000',
  },
}
SCSS
$custom: #2e3293;
$custom-light: #746ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3293",
  "rgb": {
    "r": 46,
    "g": 50,
    "b": 147
  },
  "hsl": {
    "h": 237.624,
    "s": 52.332,
    "l": 37.843
  },
  "oklch": {
    "l": 0.38025,
    "c": 0.15601,
    "h": 274.3
  },
  "luminance": 0.04969
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E3293

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

Preview Lab → · Contrast checker → · Palette generator →

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