#2E3D91#2E3D91

#2E3D91 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.9% C 0.139 H 271.1°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#2E3D91
RGBrgb(46, 61, 145)
HSLhsl(231, 52%, 37%)
HSVhsv(231, 68%, 57%)
CMYKcmyk(68.3%, 57.9%, 0%, 43.1%)
CIE-LABlab(29.32, 22.92, -48.32)
CIE-LCHlch(29.32, 53.48, 295.38°)
OKLaboklab(39.95% 0.0026 -0.139)
OKLCHoklch(39.95% 0.139 271.1)
XYZxyz(7.9046, 5.9619, 27.5168)
Luminance0.0596 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3D91 #91822E
analogous
#2E6F91 #2E3D91 #512E91
triadic
#2E3D91 #912E3D #3D912E
tetradic
#2E3D91 #912E6F #91822E #2E9151
square
#2E3D91 #912E6F #91822E #2E9151
split-complementary
#2E3D91 #91512E #6F912E
monochromatic
#111634 #1F2963 #2E3D91 #3D51BF #6A79D0

Accessibility & contrast

On white

9.58
#2E3D91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#2E3D91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3D91
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3D91#FFFFFF#000000##FFFFFF
##2E3D911.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e3d91;
/* rgb */ color: rgb(46, 61, 145);
/* oklch */ color: oklch(39.9% 0.139 271.1);
Tailwind
colors: {
  custom: {
    50: '#7372b2',
    500: '#2e3d91',
    950: '#000000',
  },
}
SCSS
$custom: #2e3d91;
$custom-light: #7372b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3d91",
  "rgb": {
    "r": 46,
    "g": 61,
    "b": 145
  },
  "hsl": {
    "h": 230.909,
    "s": 51.832,
    "l": 37.451
  },
  "oklch": {
    "l": 0.39949,
    "c": 0.13907,
    "h": 271.1
  },
  "luminance": 0.05963
}

Semantic roles & 50–950 ramp

primary
#2E3D91
secondary
#B7AA64
accent
#C64DDB
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2E3D91

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

Preview Lab → · Contrast checker → · Palette generator →

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