#2E3792#2E3792

#2E3792 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.9% C 0.148 H 273.0°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#2E3792
RGBrgb(46, 55, 146)
HSLhsl(235, 52%, 38%)
HSVhsv(235, 68%, 57%)
CMYKcmyk(68.5%, 62.3%, 0%, 42.7%)
CIE-LABlab(27.81, 27.31, -51.38)
CIE-LCHlch(27.81, 58.19, 297.99°)
OKLaboklab(38.86% 0.0078 -0.1481)
OKLCHoklch(38.86% 0.148 273)
XYZxyz(7.6795, 5.3878, 27.8238)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3792 #92892E
analogous
#2E6992 #2E3792 #572E92
triadic
#2E3792 #922E37 #37922E
tetradic
#2E3792 #922E69 #92892E #2E9257
square
#2E3792 #922E69 #92892E #2E9257
split-complementary
#2E3792 #92572E #69922E
monochromatic
#111435 #1F2563 #2E3792 #3D49C1 #6A73D0

Accessibility & contrast

On white

10.11
#2E3792 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#2E3792 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3792
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3792#FFFFFF#000000##FFFFFF
##2E37921.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004695
Deuteranopia (green-blind)
#003D90
Tritanopia (blue-blind)
#004E5F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2e3792;
/* rgb */ color: rgb(46, 55, 146);
/* oklch */ color: oklch(38.9% 0.148 273.0);
Tailwind
colors: {
  custom: {
    50: '#746db3',
    500: '#2e3792',
    950: '#000000',
  },
}
SCSS
$custom: #2e3792;
$custom-light: #746db3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3792",
  "rgb": {
    "r": 46,
    "g": 55,
    "b": 146
  },
  "hsl": {
    "h": 234.6,
    "s": 52.083,
    "l": 37.647
  },
  "oklch": {
    "l": 0.38857,
    "c": 0.14832,
    "h": 273
  },
  "luminance": 0.05389
}

Semantic roles & 50–950 ramp

primary
#2E3792
secondary
#B7B065
accent
#CF4CDC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2E3792

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

Preview Lab → · Contrast checker → · Palette generator →

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