#2E3091#2E3091

#2E3091 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.5% C 0.156 H 275.0°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#2E3091
RGBrgb(46, 48, 145)
HSLhsl(239, 52%, 37%)
HSVhsv(239, 68%, 57%)
CMYKcmyk(68.3%, 66.9%, 0%, 43.1%)
CIE-LABlab(25.98, 31.53, -53.76)
CIE-LCHlch(25.98, 62.33, 300.39°)
OKLaboklab(37.48% 0.0136 -0.1551)
OKLCHoklch(37.48% 0.156 275)
XYZxyz(7.2928, 4.7384, 27.3129)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3091 #918F2E
analogous
#2E6191 #2E3091 #5E2E91
triadic
#2E3091 #912E30 #30912E
tetradic
#2E3091 #912E61 #918F2E #2E915E
square
#2E3091 #912E61 #918F2E #2E915E
split-complementary
#2E3091 #915E2E #61912E
monochromatic
#111134 #1F2163 #2E3091 #3D3FBF #6A6CD0

Accessibility & contrast

On white

10.78
#2E3091 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#2E3091 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3091
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3091#FFFFFF#000000##FFFFFF
##2E30911.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004294
Deuteranopia (green-blind)
#00398F
Tritanopia (blue-blind)
#00495C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2e3091;
/* rgb */ color: rgb(46, 48, 145);
/* oklch */ color: oklch(37.5% 0.156 275.0);
Tailwind
colors: {
  custom: {
    50: '#7468b2',
    500: '#2e3091',
    950: '#000000',
  },
}
SCSS
$custom: #2e3091;
$custom-light: #7468b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3091",
  "rgb": {
    "r": 46,
    "g": 48,
    "b": 145
  },
  "hsl": {
    "h": 238.788,
    "s": 51.832,
    "l": 37.451
  },
  "oklch": {
    "l": 0.37483,
    "c": 0.15574,
    "h": 275
  },
  "luminance": 0.04739
}

Semantic roles & 50–950 ramp

primary
#2E3091
secondary
#B7B564
accent
#D84DDB
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2E3091

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

Preview Lab → · Contrast checker → · Palette generator →

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