#2E3E91#2E3E91

#2E3E91 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.2% C 0.138 H 270.7°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#2E3E91
RGBrgb(46, 62, 145)
HSLhsl(230, 52%, 37%)
HSVhsv(230, 68%, 57%)
CMYKcmyk(68.3%, 57.2%, 0%, 43.1%)
CIE-LABlab(29.59, 22.24, -47.88)
CIE-LCHlch(29.59, 52.79, 294.92°)
OKLaboklab(40.15% 0.0017 -0.1377)
OKLCHoklch(40.15% 0.138 270.7)
XYZxyz(7.9584, 6.0697, 27.5347)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3E91 #91812E
analogous
#2E6F91 #2E3E91 #502E91
triadic
#2E3E91 #912E3E #3E912E
tetradic
#2E3E91 #912E6F #91812E #2E9150
square
#2E3E91 #912E6F #91812E #2E9150
split-complementary
#2E3E91 #91502E #6F912E
monochromatic
#111634 #1F2A63 #2E3E91 #3D52BF #6A7AD0

Accessibility & contrast

On white

9.49
#2E3E91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#2E3E91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3E91
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3E91#FFFFFF#000000##FFFFFF
##2E3E911.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A94
Deuteranopia (green-blind)
#00418F
Tritanopia (blue-blind)
#005261
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2e3e91;
/* rgb */ color: rgb(46, 62, 145);
/* oklch */ color: oklch(40.2% 0.138 270.7);
Tailwind
colors: {
  custom: {
    50: '#7373b2',
    500: '#2e3e91',
    950: '#000000',
  },
}
SCSS
$custom: #2e3e91;
$custom-light: #7373b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3e91",
  "rgb": {
    "r": 46,
    "g": 62,
    "b": 145
  },
  "hsl": {
    "h": 230.303,
    "s": 51.832,
    "l": 37.451
  },
  "oklch": {
    "l": 0.40152,
    "c": 0.13775,
    "h": 270.7
  },
  "luminance": 0.0607
}

Semantic roles & 50–950 ramp

primary
#2E3E91
secondary
#B7A964
accent
#C44DDB
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2E3E91

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

Preview Lab → · Contrast checker → · Palette generator →

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