#2E5490#2E5490

#2E5490 is a dark, moderate blue. Relative luminance 0.089; OKLCH L 44.9% C 0.108 H 259.2°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#2E5490
RGBrgb(46, 84, 144)
HSLhsl(217, 52%, 37%)
HSVhsv(217, 68%, 56%)
CMYKcmyk(68.1%, 41.7%, 0%, 43.5%)
CIE-LABlab(35.86, 7.12, -37.19)
CIE-LCHlch(35.86, 37.86, 280.84°)
OKLaboklab(44.91% -0.0202 -0.106)
OKLCHoklch(44.91% 0.108 259.2)
XYZxyz(9.3293, 8.9342, 27.6130)
Luminance0.0893 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5490 #906A2E
analogous
#2E8590 #2E5490 #392E90
triadic
#2E5490 #902E54 #54902E
tetradic
#2E5490 #902E85 #906A2E #2E9039
square
#2E5490 #902E85 #906A2E #2E9039
split-complementary
#2E5490 #90392E #85902E
monochromatic
#101E33 #1F3962 #2E5490 #3D6FBE #6991CF

Accessibility & contrast

On white

7.53
#2E5490 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#2E5490 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5490
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5490#FFFFFF#000000##FFFFFF
##2E54901.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395992
Deuteranopia (green-blind)
#2A508F
Tritanopia (blue-blind)
#00626B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2e5490;
/* rgb */ color: rgb(46, 84, 144);
/* oklch */ color: oklch(44.9% 0.108 259.2);
Tailwind
colors: {
  custom: {
    50: '#7283b1',
    500: '#2e5490',
    950: '#000000',
  },
}
SCSS
$custom: #2e5490;
$custom-light: #7283b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5490",
  "rgb": {
    "r": 46,
    "g": 84,
    "b": 144
  },
  "hsl": {
    "h": 216.735,
    "s": 51.579,
    "l": 37.255
  },
  "oklch": {
    "l": 0.44913,
    "c": 0.10788,
    "h": 259.2
  },
  "luminance": 0.08935
}

Semantic roles & 50–950 ramp

primary
#2E5490
secondary
#B69664
accent
#A44DDB
background
#F7F8FA
surface
#EDEFF5
border
#C8CACF
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #2E5490

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

Preview Lab → · Contrast checker → · Palette generator →

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