#2E5398#2E5398

#2E5398 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.2% C 0.121 H 261.6°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#2E5398
RGBrgb(46, 83, 152)
HSLhsl(219, 54%, 39%)
HSVhsv(219, 70%, 60%)
CMYKcmyk(69.7%, 45.4%, 0%, 40.4%)
CIE-LABlab(36.05, 10.79, -41.72)
CIE-LCHlch(36.05, 43.10, 284.50°)
OKLaboklab(45.22% -0.0176 -0.1193)
OKLCHoklch(45.22% 0.121 261.6)
XYZxyz(9.8855, 9.0334, 30.9223)
Luminance0.0903 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5398 #98732E
analogous
#2E8898 #2E5398 #3E2E98
triadic
#2E5398 #982E53 #53982E
tetradic
#2E5398 #982E88 #98732E #2E983E
square
#2E5398 #982E88 #98732E #2E983E
split-complementary
#2E5398 #983E2E #88982E
monochromatic
#12203A #203969 #2E5398 #3E6DC5 #6D91D3

Accessibility & contrast

On white

7.48
#2E5398 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#2E5398 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5398
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5398#FFFFFF#000000##FFFFFF
##2E53981.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315A9B
Deuteranopia (green-blind)
#1E5097
Tritanopia (blue-blind)
#00636E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2e5398;
/* rgb */ color: rgb(46, 83, 152);
/* oklch */ color: oklch(45.2% 0.121 261.6);
Tailwind
colors: {
  custom: {
    50: '#7382b7',
    500: '#2e5398',
    950: '#000000',
  },
}
SCSS
$custom: #2e5398;
$custom-light: #7382b7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5398",
  "rgb": {
    "r": 46,
    "g": 83,
    "b": 152
  },
  "hsl": {
    "h": 219.057,
    "s": 53.535,
    "l": 38.824
  },
  "oklch": {
    "l": 0.45218,
    "c": 0.1206,
    "h": 261.6
  },
  "luminance": 0.09034
}

Semantic roles & 50–950 ramp

primary
#2E5398
secondary
#BA9D68
accent
#AA4BDD
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2E5398

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

Preview Lab → · Contrast checker → · Palette generator →

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