#2E4490#2E4490

#2E4490 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.3% C 0.128 H 268.2°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#2E4490
RGBrgb(46, 68, 144)
HSLhsl(227, 52%, 37%)
HSVhsv(227, 68%, 56%)
CMYKcmyk(68.1%, 52.8%, 0%, 43.5%)
CIE-LABlab(31.18, 17.81, -44.69)
CIE-LCHlch(31.18, 48.10, 291.73°)
OKLaboklab(41.33% -0.0041 -0.1283)
OKLCHoklch(41.33% 0.128 268.2)
XYZxyz(8.2262, 6.7279, 27.2453)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4490 #907A2E
analogous
#2E7590 #2E4490 #492E90
triadic
#2E4490 #902E44 #44902E
tetradic
#2E4490 #902E75 #907A2E #2E9049
square
#2E4490 #902E75 #907A2E #2E9049
split-complementary
#2E4490 #90492E #75902E
monochromatic
#101833 #1F2E62 #2E4490 #3D5ABE #6980CF

Accessibility & contrast

On white

8.95
#2E4490 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#2E4490 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4490
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4490#FFFFFF#000000##FFFFFF
##2E44901.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164E93
Deuteranopia (green-blind)
#00458E
Tritanopia (blue-blind)
#005663
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2e4490;
/* rgb */ color: rgb(46, 68, 144);
/* oklch */ color: oklch(41.3% 0.128 268.2);
Tailwind
colors: {
  custom: {
    50: '#7277b1',
    500: '#2e4490',
    950: '#000000',
  },
}
SCSS
$custom: #2e4490;
$custom-light: #7277b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4490",
  "rgb": {
    "r": 46,
    "g": 68,
    "b": 144
  },
  "hsl": {
    "h": 226.531,
    "s": 51.579,
    "l": 37.255
  },
  "oklch": {
    "l": 0.41327,
    "c": 0.12833,
    "h": 268.2
  },
  "luminance": 0.06729
}

Semantic roles & 50–950 ramp

primary
#2E4490
secondary
#B6A464
accent
#BB4DDB
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2E4490

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

Preview Lab → · Contrast checker → · Palette generator →

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