#2E5396#2E5396

#2E5396 is a mid, moderate blue. Relative luminance 0.090; OKLCH L 45.1% C 0.118 H 261.2°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#2E5396
RGBrgb(46, 83, 150)
HSLhsl(219, 53%, 38%)
HSVhsv(219, 69%, 59%)
CMYKcmyk(69.3%, 44.7%, 0%, 41.2%)
CIE-LABlab(35.92, 10.04, -40.72)
CIE-LCHlch(35.92, 41.93, 283.85°)
OKLaboklab(45.08% -0.0179 -0.1163)
OKLCHoklch(45.08% 0.118 261.2)
XYZxyz(9.7230, 8.9684, 30.0669)
Luminance0.0897 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5396 #96712E
analogous
#2E8796 #2E5396 #3D2E96
triadic
#2E5396 #962E53 #53962E
tetradic
#2E5396 #962E87 #96712E #2E963D
square
#2E5396 #962E87 #96712E #2E963D
split-complementary
#2E5396 #963D2E #87962E
monochromatic
#111F38 #203967 #2E5396 #3E6DC4 #6C91D2

Accessibility & contrast

On white

7.52
#2E5396 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#2E5396 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5396
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5396#FFFFFF#000000##FFFFFF
##2E53961.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335A99
Deuteranopia (green-blind)
#215095
Tritanopia (blue-blind)
#00626D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2e5396;
/* rgb */ color: rgb(46, 83, 150);
/* oklch */ color: oklch(45.1% 0.118 261.2);
Tailwind
colors: {
  custom: {
    50: '#7382b5',
    500: '#2e5396',
    950: '#000000',
  },
}
SCSS
$custom: #2e5396;
$custom-light: #7382b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5396",
  "rgb": {
    "r": 46,
    "g": 83,
    "b": 150
  },
  "hsl": {
    "h": 218.654,
    "s": 53.061,
    "l": 38.431
  },
  "oklch": {
    "l": 0.45082,
    "c": 0.11773,
    "h": 261.2
  },
  "luminance": 0.08969
}

Semantic roles & 50–950 ramp

primary
#2E5396
secondary
#B99C67
accent
#A94BDC
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2E5396

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

Preview Lab → · Contrast checker → · Palette generator →

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