#2E4E97#2E4E97

#2E4E97 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.0% C 0.125 H 264.1°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#2E4E97
RGBrgb(46, 78, 151)
HSLhsl(222, 53%, 39%)
HSVhsv(222, 70%, 59%)
CMYKcmyk(69.5%, 48.3%, 0%, 40.8%)
CIE-LABlab(34.52, 13.73, -43.56)
CIE-LCHlch(34.52, 45.68, 287.50°)
OKLaboklab(44.03% -0.0128 -0.1248)
OKLCHoklch(44.03% 0.125 264.1)
XYZxyz(9.4351, 8.2630, 30.3698)
Luminance0.0826 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4E97 #97772E
analogous
#2E8297 #2E4E97 #422E97
triadic
#2E4E97 #972E4E #4E972E
tetradic
#2E4E97 #972E82 #97772E #2E9742
square
#2E4E97 #972E82 #97772E #2E9742
split-complementary
#2E4E97 #97422E #82972E
monochromatic
#111E39 #203668 #2E4E97 #3E67C4 #6D8CD2

Accessibility & contrast

On white

7.92
#2E4E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#2E4E97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4E97
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4E97#FFFFFF#000000##FFFFFF
##2E4E971.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28569A
Deuteranopia (green-blind)
#104D96
Tritanopia (blue-blind)
#005F6B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2e4e97;
/* rgb */ color: rgb(46, 78, 151);
/* oklch */ color: oklch(44.0% 0.125 264.1);
Tailwind
colors: {
  custom: {
    50: '#737fb6',
    500: '#2e4e97',
    950: '#000000',
  },
}
SCSS
$custom: #2e4e97;
$custom-light: #737fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4e97",
  "rgb": {
    "r": 46,
    "g": 78,
    "b": 151
  },
  "hsl": {
    "h": 221.714,
    "s": 53.299,
    "l": 38.627
  },
  "oklch": {
    "l": 0.44028,
    "c": 0.12547,
    "h": 264.1
  },
  "luminance": 0.08264
}

Semantic roles & 50–950 ramp

primary
#2E4E97
secondary
#BAA167
accent
#B04BDD
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2E4E97

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

Preview Lab → · Contrast checker → · Palette generator →

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