#2E5996#2E5996

#2E5996 is a mid, moderate blue. Relative luminance 0.099; OKLCH L 46.5% C 0.111 H 257.4°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#2E5996
RGBrgb(46, 89, 150)
HSLhsl(215, 53%, 38%)
HSVhsv(215, 69%, 59%)
CMYKcmyk(69.3%, 40.7%, 0%, 41.2%)
CIE-LABlab(37.71, 6.11, -37.86)
CIE-LCHlch(37.71, 38.35, 279.17°)
OKLaboklab(46.47% -0.024 -0.1079)
OKLCHoklch(46.47% 0.111 257.4)
XYZxyz(10.2021, 9.9266, 30.2266)
Luminance0.0993 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5996 #966B2E
analogous
#2E8D96 #2E5996 #372E96
triadic
#2E5996 #962E59 #59962E
tetradic
#2E5996 #962E8D #966B2E #2E9637
square
#2E5996 #962E8D #966B2E #2E9637
split-complementary
#2E5996 #96372E #8D962E
monochromatic
#112138 #203D67 #2E5996 #3E75C4 #6C96D2

Accessibility & contrast

On white

7.03
#2E5996 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#2E5996 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5996
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5996#FFFFFF#000000##FFFFFF
##2E59961.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5E98
Deuteranopia (green-blind)
#2D5495
Tritanopia (blue-blind)
#006770
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2e5996;
/* rgb */ color: rgb(46, 89, 150);
/* oklch */ color: oklch(46.5% 0.111 257.4);
Tailwind
colors: {
  custom: {
    50: '#7387b5',
    500: '#2e5996',
    950: '#000000',
  },
}
SCSS
$custom: #2e5996;
$custom-light: #7387b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5996",
  "rgb": {
    "r": 46,
    "g": 89,
    "b": 150
  },
  "hsl": {
    "h": 215.192,
    "s": 53.061,
    "l": 38.431
  },
  "oklch": {
    "l": 0.46465,
    "c": 0.11053,
    "h": 257.4
  },
  "luminance": 0.09928
}

Semantic roles & 50–950 ramp

primary
#2E5996
secondary
#B99767
accent
#A04BDC
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2E5996

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

Preview Lab → · Contrast checker → · Palette generator →

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