#2E3594#2E3594

#2E3594 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.7% C 0.154 H 273.5°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#2E3594
RGBrgb(46, 53, 148)
HSLhsl(236, 53%, 38%)
HSVhsv(236, 69%, 58%)
CMYKcmyk(68.9%, 64.2%, 0%, 42%)
CIE-LABlab(27.48, 29.36, -53.16)
CIE-LCHlch(27.48, 60.73, 298.91°)
OKLaboklab(38.66% 0.0094 -0.1533)
OKLCHoklch(38.66% 0.154 273.5)
XYZxyz(7.7433, 5.2645, 28.6193)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3594 #948D2E
analogous
#2E6894 #2E3594 #5A2E94
triadic
#2E3594 #942E35 #35942E
tetradic
#2E3594 #942E68 #948D2E #2E945A
square
#2E3594 #942E68 #948D2E #2E945A
split-complementary
#2E3594 #945A2E #68942E
monochromatic
#111437 #1F2465 #2E3594 #3D46C3 #6B72D1

Accessibility & contrast

On white

10.23
#2E3594 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#2E3594 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3594
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3594#FFFFFF#000000##FFFFFF
##2E35941.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004697
Deuteranopia (green-blind)
#003C92
Tritanopia (blue-blind)
#004D5F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2e3594;
/* rgb */ color: rgb(46, 53, 148);
/* oklch */ color: oklch(38.7% 0.154 273.5);
Tailwind
colors: {
  custom: {
    50: '#746cb4',
    500: '#2e3594',
    950: '#000000',
  },
}
SCSS
$custom: #2e3594;
$custom-light: #746cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3594",
  "rgb": {
    "r": 46,
    "g": 53,
    "b": 148
  },
  "hsl": {
    "h": 235.882,
    "s": 52.577,
    "l": 38.039
  },
  "oklch": {
    "l": 0.38662,
    "c": 0.15364,
    "h": 273.5
  },
  "luminance": 0.05265
}

Semantic roles & 50–950 ramp

primary
#2E3594
secondary
#B8B266
accent
#D24CDC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2E3594

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

Preview Lab → · Contrast checker → · Palette generator →

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