#2E3492#2E3492

#2E3492 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.3% C 0.152 H 273.9°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#2E3492
RGBrgb(46, 52, 146)
HSLhsl(236, 52%, 38%)
HSVhsv(236, 68%, 57%)
CMYKcmyk(68.5%, 64.4%, 0%, 42.7%)
CIE-LABlab(27.05, 29.29, -52.62)
CIE-LCHlch(27.05, 60.22, 299.10°)
OKLaboklab(38.3% 0.0103 -0.1518)
OKLCHoklch(38.3% 0.152 273.9)
XYZxyz(7.5413, 5.1115, 27.7777)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3492 #928C2E
analogous
#2E6692 #2E3492 #5A2E92
triadic
#2E3492 #922E34 #34922E
tetradic
#2E3492 #922E66 #928C2E #2E925A
square
#2E3492 #922E66 #928C2E #2E925A
split-complementary
#2E3492 #925A2E #66922E
monochromatic
#111335 #1F2363 #2E3492 #3D45C1 #6A70D0

Accessibility & contrast

On white

10.38
#2E3492 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#2E3492 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3492
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3492#FFFFFF#000000##FFFFFF
##2E34921.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004495
Deuteranopia (green-blind)
#003B90
Tritanopia (blue-blind)
#004C5E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2e3492;
/* rgb */ color: rgb(46, 52, 146);
/* oklch */ color: oklch(38.3% 0.152 273.9);
Tailwind
colors: {
  custom: {
    50: '#746bb3',
    500: '#2e3492',
    950: '#000000',
  },
}
SCSS
$custom: #2e3492;
$custom-light: #746bb3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3492",
  "rgb": {
    "r": 46,
    "g": 52,
    "b": 146
  },
  "hsl": {
    "h": 236.4,
    "s": 52.083,
    "l": 37.647
  },
  "oklch": {
    "l": 0.38296,
    "c": 0.15214,
    "h": 273.9
  },
  "luminance": 0.05112
}

Semantic roles & 50–950 ramp

primary
#2E3492
secondary
#B7B265
accent
#D34CDC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2E3492

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

Preview Lab → · Contrast checker → · Palette generator →

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