#2E4590#2E4590

#2E4590 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.5% C 0.127 H 267.7°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#2E4590
RGBrgb(46, 69, 144)
HSLhsl(226, 52%, 37%)
HSVhsv(226, 68%, 56%)
CMYKcmyk(68.1%, 52.1%, 0%, 43.5%)
CIE-LABlab(31.46, 17.13, -44.23)
CIE-LCHlch(31.46, 47.43, 291.17°)
OKLaboklab(41.54% -0.005 -0.1269)
OKLCHoklch(41.54% 0.127 267.7)
XYZxyz(8.2871, 6.8499, 27.2656)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4590 #90792E
analogous
#2E7690 #2E4590 #482E90
triadic
#2E4590 #902E45 #45902E
tetradic
#2E4590 #902E76 #90792E #2E9048
square
#2E4590 #902E76 #90792E #2E9048
split-complementary
#2E4590 #90482E #76902E
monochromatic
#101933 #1F2F62 #2E4590 #3D5BBE #6981CF

Accessibility & contrast

On white

8.86
#2E4590 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#2E4590 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4590
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4590#FFFFFF#000000##FFFFFF
##2E45901.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194F93
Deuteranopia (green-blind)
#00468E
Tritanopia (blue-blind)
#005763
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2e4590;
/* rgb */ color: rgb(46, 69, 144);
/* oklch */ color: oklch(41.5% 0.127 267.7);
Tailwind
colors: {
  custom: {
    50: '#7278b1',
    500: '#2e4590',
    950: '#000000',
  },
}
SCSS
$custom: #2e4590;
$custom-light: #7278b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4590",
  "rgb": {
    "r": 46,
    "g": 69,
    "b": 144
  },
  "hsl": {
    "h": 225.918,
    "s": 51.579,
    "l": 37.255
  },
  "oklch": {
    "l": 0.41541,
    "c": 0.12701,
    "h": 267.7
  },
  "luminance": 0.06851
}

Semantic roles & 50–950 ramp

primary
#2E4590
secondary
#B6A364
accent
#BA4DDB
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2E4590

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

Preview Lab → · Contrast checker → · Palette generator →

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