#2E4091#2E4091

#2E4091 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.6% C 0.135 H 269.9°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#2E4091
RGBrgb(46, 64, 145)
HSLhsl(229, 52%, 37%)
HSVhsv(229, 68%, 57%)
CMYKcmyk(68.3%, 55.9%, 0%, 43.1%)
CIE-LABlab(30.14, 20.89, -46.99)
CIE-LCHlch(30.14, 51.42, 293.97°)
OKLaboklab(40.56% -0.0002 -0.1351)
OKLCHoklch(40.56% 0.135 269.9)
XYZxyz(8.0692, 6.2912, 27.5717)
Luminance0.0629 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4091 #917F2E
analogous
#2E7191 #2E4091 #4E2E91
triadic
#2E4091 #912E40 #40912E
tetradic
#2E4091 #912E71 #917F2E #2E914E
square
#2E4091 #912E71 #917F2E #2E914E
split-complementary
#2E4091 #914E2E #71912E
monochromatic
#111734 #1F2B63 #2E4091 #3D55BF #6A7CD0

Accessibility & contrast

On white

9.30
#2E4091 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#2E4091 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4091
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4091#FFFFFF#000000##FFFFFF
##2E40911.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C94
Deuteranopia (green-blind)
#00438F
Tritanopia (blue-blind)
#005362
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2e4091;
/* rgb */ color: rgb(46, 64, 145);
/* oklch */ color: oklch(40.6% 0.135 269.9);
Tailwind
colors: {
  custom: {
    50: '#7374b2',
    500: '#2e4091',
    950: '#000000',
  },
}
SCSS
$custom: #2e4091;
$custom-light: #7374b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4091",
  "rgb": {
    "r": 46,
    "g": 64,
    "b": 145
  },
  "hsl": {
    "h": 229.091,
    "s": 51.832,
    "l": 37.451
  },
  "oklch": {
    "l": 0.40563,
    "c": 0.1351,
    "h": 269.9
  },
  "luminance": 0.06292
}

Semantic roles & 50–950 ramp

primary
#2E4091
secondary
#B7A864
accent
#C14DDB
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2E4091

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

Preview Lab → · Contrast checker → · Palette generator →

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