#2E5196#2E5196

#2E5196 is a dark, vivid blue. Relative luminance 0.087; OKLCH L 44.6% C 0.120 H 262.4°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#2E5196
RGBrgb(46, 81, 150)
HSLhsl(220, 53%, 38%)
HSVhsv(220, 69%, 59%)
CMYKcmyk(69.3%, 46%, 0%, 41.2%)
CIE-LABlab(35.33, 11.36, -41.66)
CIE-LCHlch(35.33, 43.18, 285.25°)
OKLaboklab(44.63% -0.016 -0.1191)
OKLCHoklch(44.63% 0.12 262.4)
XYZxyz(9.5722, 8.6668, 30.0166)
Luminance0.0867 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5196 #96732E
analogous
#2E8596 #2E5196 #3F2E96
triadic
#2E5196 #962E51 #51962E
tetradic
#2E5196 #962E85 #96732E #2E963F
square
#2E5196 #962E85 #96732E #2E963F
split-complementary
#2E5196 #963F2E #85962E
monochromatic
#111E38 #203867 #2E5196 #3E6BC4 #6C8FD2

Accessibility & contrast

On white

7.68
#2E5196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#2E5196 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5196
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5196#FFFFFF#000000##FFFFFF
##2E51961.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5899
Deuteranopia (green-blind)
#1C4F95
Tritanopia (blue-blind)
#00616C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2e5196;
/* rgb */ color: rgb(46, 81, 150);
/* oklch */ color: oklch(44.6% 0.120 262.4);
Tailwind
colors: {
  custom: {
    50: '#7381b5',
    500: '#2e5196',
    950: '#000000',
  },
}
SCSS
$custom: #2e5196;
$custom-light: #7381b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5196",
  "rgb": {
    "r": 46,
    "g": 81,
    "b": 150
  },
  "hsl": {
    "h": 219.808,
    "s": 53.061,
    "l": 38.431
  },
  "oklch": {
    "l": 0.44628,
    "c": 0.12021,
    "h": 262.4
  },
  "luminance": 0.08668
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E5196

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

Preview Lab → · Contrast checker → · Palette generator →

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