#2E4190#2E4190

#2E4190 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.7% C 0.132 H 269.5°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#2E4190
RGBrgb(46, 65, 144)
HSLhsl(228, 52%, 37%)
HSVhsv(228, 68%, 56%)
CMYKcmyk(68.1%, 54.9%, 0%, 43.5%)
CIE-LABlab(30.34, 19.84, -46.05)
CIE-LCHlch(30.34, 50.14, 293.31°)
OKLaboklab(40.69% -0.0012 -0.1323)
OKLCHoklch(40.69% 0.132 269.5)
XYZxyz(8.0493, 6.3743, 27.1863)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4190 #907D2E
analogous
#2E7290 #2E4190 #4C2E90
triadic
#2E4190 #902E41 #41902E
tetradic
#2E4190 #902E72 #907D2E #2E904C
square
#2E4190 #902E72 #907D2E #2E904C
split-complementary
#2E4190 #904C2E #72902E
monochromatic
#101733 #1F2C62 #2E4190 #3D56BE #697DCF

Accessibility & contrast

On white

9.23
#2E4190 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#2E4190 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4190
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4190#FFFFFF#000000##FFFFFF
##2E41901.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#094C93
Deuteranopia (green-blind)
#00438E
Tritanopia (blue-blind)
#005462
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2e4190;
/* rgb */ color: rgb(46, 65, 144);
/* oklch */ color: oklch(40.7% 0.132 269.5);
Tailwind
colors: {
  custom: {
    50: '#7375b1',
    500: '#2e4190',
    950: '#000000',
  },
}
SCSS
$custom: #2e4190;
$custom-light: #7375b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4190",
  "rgb": {
    "r": 46,
    "g": 65,
    "b": 144
  },
  "hsl": {
    "h": 228.367,
    "s": 51.579,
    "l": 37.255
  },
  "oklch": {
    "l": 0.40691,
    "c": 0.13233,
    "h": 269.5
  },
  "luminance": 0.06375
}

Semantic roles & 50–950 ramp

primary
#2E4190
secondary
#B6A664
accent
#BF4DDB
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2E4190

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

Preview Lab → · Contrast checker → · Palette generator →

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