#2E4997#2E4997

#2E4997 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 42.9% C 0.132 H 266.5°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#2E4997
RGBrgb(46, 73, 151)
HSLhsl(225, 53%, 39%)
HSVhsv(225, 70%, 59%)
CMYKcmyk(69.5%, 51.7%, 0%, 40.8%)
CIE-LABlab(33.09, 17.08, -45.87)
CIE-LCHlch(33.09, 48.95, 290.42°)
OKLaboklab(42.94% -0.0081 -0.1317)
OKLCHoklch(42.94% 0.132 266.5)
XYZxyz(9.0932, 7.5794, 30.2559)
Luminance0.0758 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4997 #977C2E
analogous
#2E7D97 #2E4997 #472E97
triadic
#2E4997 #972E49 #49972E
tetradic
#2E4997 #972E7D #977C2E #2E9747
square
#2E4997 #972E7D #977C2E #2E9747
split-complementary
#2E4997 #97472E #7D972E
monochromatic
#111C39 #203268 #2E4997 #3E61C4 #6D87D2

Accessibility & contrast

On white

8.35
#2E4997 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#2E4997 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4997
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4997#FFFFFF#000000##FFFFFF
##2E49971.008.352.528.35
#FFFFFF8.351.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B539A
Deuteranopia (green-blind)
#004995
Tritanopia (blue-blind)
#005B69
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2e4997;
/* rgb */ color: rgb(46, 73, 151);
/* oklch */ color: oklch(42.9% 0.132 266.5);
Tailwind
colors: {
  custom: {
    50: '#747bb6',
    500: '#2e4997',
    950: '#000000',
  },
}
SCSS
$custom: #2e4997;
$custom-light: #747bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4997",
  "rgb": {
    "r": 46,
    "g": 73,
    "b": 151
  },
  "hsl": {
    "h": 224.571,
    "s": 53.299,
    "l": 38.627
  },
  "oklch": {
    "l": 0.42935,
    "c": 0.13193,
    "h": 266.5
  },
  "luminance": 0.0758
}

Semantic roles & 50–950 ramp

primary
#2E4997
secondary
#BAA467
accent
#B74BDD
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2E4997

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

Preview Lab → · Contrast checker → · Palette generator →

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