#2E3994#2E3994

#2E3994 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.4% C 0.149 H 272.3°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#2E3994
RGBrgb(46, 57, 148)
HSLhsl(234, 53%, 38%)
HSVhsv(234, 69%, 58%)
CMYKcmyk(68.9%, 61.5%, 0%, 42%)
CIE-LABlab(28.50, 26.71, -51.49)
CIE-LCHlch(28.50, 58.01, 297.42°)
OKLaboklab(39.42% 0.0061 -0.1484)
OKLCHoklch(39.42% 0.149 272.3)
XYZxyz(7.9333, 5.6445, 28.6826)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3994 #94892E
analogous
#2E6C94 #2E3994 #562E94
triadic
#2E3994 #942E39 #39942E
tetradic
#2E3994 #942E6C #94892E #2E9456
square
#2E3994 #942E6C #94892E #2E9456
split-complementary
#2E3994 #94562E #6C942E
monochromatic
#111537 #1F2765 #2E3994 #3D4BC3 #6B76D1

Accessibility & contrast

On white

9.86
#2E3994 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#2E3994 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3994
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3994#FFFFFF#000000##FFFFFF
##2E39941.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004897
Deuteranopia (green-blind)
#003F92
Tritanopia (blue-blind)
#005061
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2e3994;
/* rgb */ color: rgb(46, 57, 148);
/* oklch */ color: oklch(39.4% 0.149 272.3);
Tailwind
colors: {
  custom: {
    50: '#746fb4',
    500: '#2e3994',
    950: '#000000',
  },
}
SCSS
$custom: #2e3994;
$custom-light: #746fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3994",
  "rgb": {
    "r": 46,
    "g": 57,
    "b": 148
  },
  "hsl": {
    "h": 233.529,
    "s": 52.577,
    "l": 38.039
  },
  "oklch": {
    "l": 0.39415,
    "c": 0.14854,
    "h": 272.3
  },
  "luminance": 0.05645
}

Semantic roles & 50–950 ramp

primary
#2E3994
secondary
#B8AF66
accent
#CC4CDC
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2E3994

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

Preview Lab → · Contrast checker → · Palette generator →

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