#2E5696#2E5696

#2E5696 is a mid, moderate blue. Relative luminance 0.094; OKLCH L 45.8% C 0.114 H 259.4°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#2E5696
RGBrgb(46, 86, 150)
HSLhsl(217, 53%, 38%)
HSVhsv(217, 69%, 59%)
CMYKcmyk(69.3%, 42.7%, 0%, 41.2%)
CIE-LABlab(36.81, 8.06, -39.29)
CIE-LCHlch(36.81, 40.11, 281.60°)
OKLaboklab(45.77% -0.021 -0.1121)
OKLCHoklch(45.77% 0.114 259.4)
XYZxyz(9.9575, 9.4374, 30.1451)
Luminance0.0944 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5696 #966E2E
analogous
#2E8A96 #2E5696 #3A2E96
triadic
#2E5696 #962E56 #56962E
tetradic
#2E5696 #962E8A #966E2E #2E963A
square
#2E5696 #962E8A #966E2E #2E963A
split-complementary
#2E5696 #963A2E #8A962E
monochromatic
#112038 #203B67 #2E5696 #3E71C4 #6C93D2

Accessibility & contrast

On white

7.27
#2E5696 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#2E5696 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5696
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5696#FFFFFF#000000##FFFFFF
##2E56961.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385C98
Deuteranopia (green-blind)
#275295
Tritanopia (blue-blind)
#00656E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2e5696;
/* rgb */ color: rgb(46, 86, 150);
/* oklch */ color: oklch(45.8% 0.114 259.4);
Tailwind
colors: {
  custom: {
    50: '#7385b5',
    500: '#2e5696',
    950: '#000000',
  },
}
SCSS
$custom: #2e5696;
$custom-light: #7385b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5696",
  "rgb": {
    "r": 46,
    "g": 86,
    "b": 150
  },
  "hsl": {
    "h": 216.923,
    "s": 53.061,
    "l": 38.431
  },
  "oklch": {
    "l": 0.45769,
    "c": 0.11407,
    "h": 259.4
  },
  "luminance": 0.09438
}

Semantic roles & 50–950 ramp

primary
#2E5696
secondary
#B99967
accent
#A54BDC
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2E5696

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

Preview Lab → · Contrast checker → · Palette generator →

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