#2E3992#2E3992

#2E3992 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.2% C 0.146 H 272.4°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#2E3992
RGBrgb(46, 57, 146)
HSLhsl(233, 52%, 38%)
HSVhsv(233, 68%, 57%)
CMYKcmyk(68.5%, 61%, 0%, 42.7%)
CIE-LABlab(28.33, 25.98, -50.53)
CIE-LCHlch(28.33, 56.82, 297.21°)
OKLaboklab(39.24% 0.0061 -0.1456)
OKLCHoklch(39.24% 0.146 272.4)
XYZxyz(7.7764, 5.5817, 27.8561)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3992 #92872E
analogous
#2E6B92 #2E3992 #552E92
triadic
#2E3992 #922E39 #39922E
tetradic
#2E3992 #922E6B #92872E #2E9255
square
#2E3992 #922E6B #92872E #2E9255
split-complementary
#2E3992 #92552E #6B922E
monochromatic
#111535 #1F2763 #2E3992 #3D4BC1 #6A75D0

Accessibility & contrast

On white

9.92
#2E3992 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#2E3992 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3992
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3992#FFFFFF#000000##FFFFFF
##2E39921.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004795
Deuteranopia (green-blind)
#003E90
Tritanopia (blue-blind)
#004F60
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2e3992;
/* rgb */ color: rgb(46, 57, 146);
/* oklch */ color: oklch(39.2% 0.146 272.4);
Tailwind
colors: {
  custom: {
    50: '#746fb3',
    500: '#2e3992',
    950: '#000000',
  },
}
SCSS
$custom: #2e3992;
$custom-light: #746fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3992",
  "rgb": {
    "r": 46,
    "g": 57,
    "b": 146
  },
  "hsl": {
    "h": 233.4,
    "s": 52.083,
    "l": 37.647
  },
  "oklch": {
    "l": 0.39241,
    "c": 0.14574,
    "h": 272.4
  },
  "luminance": 0.05582
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E3992

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

Preview Lab → · Contrast checker → · Palette generator →

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