#2E5896#2E5896

#2E5896 is a mid, moderate blue. Relative luminance 0.098; OKLCH L 46.2% C 0.112 H 258.1°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#2E5896
RGBrgb(46, 88, 150)
HSLhsl(216, 53%, 38%)
HSVhsv(216, 69%, 59%)
CMYKcmyk(69.3%, 41.3%, 0%, 41.2%)
CIE-LABlab(37.41, 6.76, -38.34)
CIE-LCHlch(37.41, 38.93, 280.00°)
OKLaboklab(46.23% -0.023 -0.1093)
OKLCHoklch(46.23% 0.112 258.1)
XYZxyz(10.1195, 9.7613, 30.1991)
Luminance0.0976 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5896 #966C2E
analogous
#2E8C96 #2E5896 #382E96
triadic
#2E5896 #962E58 #58962E
tetradic
#2E5896 #962E8C #966C2E #2E9638
square
#2E5896 #962E8C #966C2E #2E9638
split-complementary
#2E5896 #96382E #8C962E
monochromatic
#112138 #203D67 #2E5896 #3E74C4 #6C95D2

Accessibility & contrast

On white

7.11
#2E5896 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#2E5896 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5896
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5896#FFFFFF#000000##FFFFFF
##2E58961.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5D98
Deuteranopia (green-blind)
#2B5495
Tritanopia (blue-blind)
#00666F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2e5896;
/* rgb */ color: rgb(46, 88, 150);
/* oklch */ color: oklch(46.2% 0.112 258.1);
Tailwind
colors: {
  custom: {
    50: '#7386b5',
    500: '#2e5896',
    950: '#000000',
  },
}
SCSS
$custom: #2e5896;
$custom-light: #7386b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5896",
  "rgb": {
    "r": 46,
    "g": 88,
    "b": 150
  },
  "hsl": {
    "h": 215.769,
    "s": 53.061,
    "l": 38.431
  },
  "oklch": {
    "l": 0.46232,
    "c": 0.1117,
    "h": 258.1
  },
  "luminance": 0.09762
}

Semantic roles & 50–950 ramp

primary
#2E5896
secondary
#B99867
accent
#A24BDC
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2E5896

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

Preview Lab → · Contrast checker → · Palette generator →

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