#2E3790#2E3790

#2E3790 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.7% C 0.146 H 273.1°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#2E3790
RGBrgb(46, 55, 144)
HSLhsl(234, 52%, 37%)
HSVhsv(234, 68%, 56%)
CMYKcmyk(68.1%, 61.8%, 0%, 43.5%)
CIE-LABlab(27.64, 26.58, -50.42)
CIE-LCHlch(27.64, 56.99, 297.79°)
OKLaboklab(38.68% 0.0079 -0.1453)
OKLCHoklch(38.68% 0.146 273.1)
XYZxyz(7.5253, 5.3262, 27.0116)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3790 #90872E
analogous
#2E6890 #2E3790 #562E90
triadic
#2E3790 #902E37 #37902E
tetradic
#2E3790 #902E68 #90872E #2E9056
square
#2E3790 #902E68 #90872E #2E9056
split-complementary
#2E3790 #90562E #68902E
monochromatic
#101433 #1F2562 #2E3790 #3D49BE #6973CF

Accessibility & contrast

On white

10.17
#2E3790 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#2E3790 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3790
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3790#FFFFFF#000000##FFFFFF
##2E37901.0010.172.0710.17
#FFFFFF10.171.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004693
Deuteranopia (green-blind)
#003D8E
Tritanopia (blue-blind)
#004D5E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2e3790;
/* rgb */ color: rgb(46, 55, 144);
/* oklch */ color: oklch(38.7% 0.146 273.1);
Tailwind
colors: {
  custom: {
    50: '#736db1',
    500: '#2e3790',
    950: '#000000',
  },
}
SCSS
$custom: #2e3790;
$custom-light: #736db1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3790",
  "rgb": {
    "r": 46,
    "g": 55,
    "b": 144
  },
  "hsl": {
    "h": 234.49,
    "s": 51.579,
    "l": 37.255
  },
  "oklch": {
    "l": 0.3868,
    "c": 0.14551,
    "h": 273.1
  },
  "luminance": 0.05327
}

Semantic roles & 50–950 ramp

primary
#2E3790
secondary
#B6AF64
accent
#CE4DDB
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2E3790

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

Preview Lab → · Contrast checker → · Palette generator →

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