#2E5498#2E5498

#2E5498 is a mid, moderate blue. Relative luminance 0.092; OKLCH L 45.4% C 0.119 H 261.1°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#2E5498
RGBrgb(46, 84, 152)
HSLhsl(218, 54%, 39%)
HSVhsv(218, 70%, 60%)
CMYKcmyk(69.7%, 44.7%, 0%, 40.4%)
CIE-LABlab(36.34, 10.13, -41.25)
CIE-LCHlch(36.34, 42.48, 283.80°)
OKLaboklab(45.45% -0.0186 -0.1179)
OKLCHoklch(45.45% 0.119 261.1)
XYZxyz(9.9625, 9.1875, 30.9480)
Luminance0.0919 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5498 #98722E
analogous
#2E8998 #2E5498 #3D2E98
triadic
#2E5498 #982E54 #54982E
tetradic
#2E5498 #982E89 #98722E #2E983D
square
#2E5498 #982E89 #98722E #2E983D
split-complementary
#2E5498 #983D2E #89982E
monochromatic
#12203A #203A69 #2E5498 #3E6FC5 #6D92D3

Accessibility & contrast

On white

7.40
#2E5498 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#2E5498 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5498
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5498#FFFFFF#000000##FFFFFF
##2E54981.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335B9B
Deuteranopia (green-blind)
#205197
Tritanopia (blue-blind)
#00646E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2e5498;
/* rgb */ color: rgb(46, 84, 152);
/* oklch */ color: oklch(45.4% 0.119 261.1);
Tailwind
colors: {
  custom: {
    50: '#7383b7',
    500: '#2e5498',
    950: '#000000',
  },
}
SCSS
$custom: #2e5498;
$custom-light: #7383b7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5498",
  "rgb": {
    "r": 46,
    "g": 84,
    "b": 152
  },
  "hsl": {
    "h": 218.491,
    "s": 53.535,
    "l": 38.824
  },
  "oklch": {
    "l": 0.45445,
    "c": 0.11936,
    "h": 261.1
  },
  "luminance": 0.09188
}

Semantic roles & 50–950 ramp

primary
#2E5498
secondary
#BA9D68
accent
#A94BDD
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2E5498

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

Preview Lab → · Contrast checker → · Palette generator →

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