#2E5296#2E5296

#2E5296 is a dark, moderate blue. Relative luminance 0.088; OKLCH L 44.9% C 0.119 H 261.8°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#2E5296
RGBrgb(46, 82, 150)
HSLhsl(219, 53%, 38%)
HSVhsv(219, 69%, 59%)
CMYKcmyk(69.3%, 45.3%, 0%, 41.2%)
CIE-LABlab(35.63, 10.70, -41.19)
CIE-LCHlch(35.63, 42.55, 284.56°)
OKLaboklab(44.85% -0.0169 -0.1177)
OKLCHoklch(44.85% 0.119 261.8)
XYZxyz(9.6471, 8.8165, 30.0416)
Luminance0.0882 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5296 #96722E
analogous
#2E8696 #2E5296 #3E2E96
triadic
#2E5296 #962E52 #52962E
tetradic
#2E5296 #962E86 #96722E #2E963E
square
#2E5296 #962E86 #96722E #2E963E
split-complementary
#2E5296 #963E2E #86962E
monochromatic
#111F38 #203867 #2E5296 #3E6CC4 #6C90D2

Accessibility & contrast

On white

7.60
#2E5296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#2E5296 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5296
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5296#FFFFFF#000000##FFFFFF
##2E52961.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315999
Deuteranopia (green-blind)
#1E4F95
Tritanopia (blue-blind)
#00626C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2e5296;
/* rgb */ color: rgb(46, 82, 150);
/* oklch */ color: oklch(44.9% 0.119 261.8);
Tailwind
colors: {
  custom: {
    50: '#7382b5',
    500: '#2e5296',
    950: '#000000',
  },
}
SCSS
$custom: #2e5296;
$custom-light: #7382b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5296",
  "rgb": {
    "r": 46,
    "g": 82,
    "b": 150
  },
  "hsl": {
    "h": 219.231,
    "s": 53.061,
    "l": 38.431
  },
  "oklch": {
    "l": 0.44854,
    "c": 0.11896,
    "h": 261.8
  },
  "luminance": 0.08817
}

Semantic roles & 50–950 ramp

primary
#2E5296
secondary
#B99D67
accent
#AA4BDC
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2E5296

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

Preview Lab → · Contrast checker → · Palette generator →

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