#2E5698#2E5698

#2E5698 is a mid, moderate blue. Relative luminance 0.095; OKLCH L 45.9% C 0.117 H 259.9°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#2E5698
RGBrgb(46, 86, 152)
HSLhsl(217, 54%, 39%)
HSVhsv(217, 70%, 60%)
CMYKcmyk(69.7%, 43.4%, 0%, 40.4%)
CIE-LABlab(36.93, 8.82, -40.31)
CIE-LCHlch(36.93, 41.26, 282.34°)
OKLaboklab(45.9% -0.0205 -0.1151)
OKLCHoklch(45.9% 0.117 259.9)
XYZxyz(10.1200, 9.5024, 31.0005)
Luminance0.0950 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5698 #98702E
analogous
#2E8B98 #2E5698 #3B2E98
triadic
#2E5698 #982E56 #56982E
tetradic
#2E5698 #982E8B #98702E #2E983B
square
#2E5698 #982E8B #98702E #2E983B
split-complementary
#2E5698 #983B2E #8B982E
monochromatic
#12213A #203B69 #2E5698 #3E71C5 #6D94D3

Accessibility & contrast

On white

7.24
#2E5698 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#2E5698 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5698
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5698#FFFFFF#000000##FFFFFF
##2E56981.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375C9B
Deuteranopia (green-blind)
#255297
Tritanopia (blue-blind)
#00656F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2e5698;
/* rgb */ color: rgb(46, 86, 152);
/* oklch */ color: oklch(45.9% 0.117 259.9);
Tailwind
colors: {
  custom: {
    50: '#7385b7',
    500: '#2e5698',
    950: '#000000',
  },
}
SCSS
$custom: #2e5698;
$custom-light: #7385b7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5698",
  "rgb": {
    "r": 46,
    "g": 86,
    "b": 152
  },
  "hsl": {
    "h": 217.358,
    "s": 53.535,
    "l": 38.824
  },
  "oklch": {
    "l": 0.45902,
    "c": 0.11692,
    "h": 259.9
  },
  "luminance": 0.09503
}

Semantic roles & 50–950 ramp

primary
#2E5698
secondary
#BA9B68
accent
#A64BDD
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2E5698

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

Preview Lab → · Contrast checker → · Palette generator →

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