#2E5197#2E5197

#2E5197 is a dark, vivid blue. Relative luminance 0.087; OKLCH L 44.7% C 0.122 H 262.5°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#2E5197
RGBrgb(46, 81, 151)
HSLhsl(220, 53%, 39%)
HSVhsv(220, 70%, 59%)
CMYKcmyk(69.5%, 46.4%, 0%, 40.8%)
CIE-LABlab(35.40, 11.74, -42.16)
CIE-LCHlch(35.40, 43.76, 285.56°)
OKLaboklab(44.7% -0.0158 -0.1206)
OKLCHoklch(44.7% 0.122 262.5)
XYZxyz(9.6531, 8.6991, 30.4425)
Luminance0.0870 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5197 #97742E
analogous
#2E8597 #2E5197 #3F2E97
triadic
#2E5197 #972E51 #51972E
tetradic
#2E5197 #972E85 #97742E #2E973F
square
#2E5197 #972E85 #97742E #2E973F
split-complementary
#2E5197 #973F2E #85972E
monochromatic
#111F39 #203868 #2E5197 #3E6BC4 #6D8FD2

Accessibility & contrast

On white

7.66
#2E5197 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#2E5197 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5197
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5197#FFFFFF#000000##FFFFFF
##2E51971.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e5197;
/* rgb */ color: rgb(46, 81, 151);
/* oklch */ color: oklch(44.7% 0.122 262.5);
Tailwind
colors: {
  custom: {
    50: '#7381b6',
    500: '#2e5197',
    950: '#000000',
  },
}
SCSS
$custom: #2e5197;
$custom-light: #7381b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5197",
  "rgb": {
    "r": 46,
    "g": 81,
    "b": 151
  },
  "hsl": {
    "h": 220,
    "s": 53.299,
    "l": 38.627
  },
  "oklch": {
    "l": 0.44698,
    "c": 0.12166,
    "h": 262.5
  },
  "luminance": 0.087
}

Semantic roles & 50–950 ramp

primary
#2E5197
secondary
#BA9E67
accent
#AC4BDD
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2E5197

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

Preview Lab → · Contrast checker → · Palette generator →

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