#2E4D97#2E4D97

#2E4D97 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.8% C 0.127 H 264.6°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#2E4D97
RGBrgb(46, 77, 151)
HSLhsl(222, 53%, 39%)
HSVhsv(222, 70%, 59%)
CMYKcmyk(69.5%, 49%, 0%, 40.8%)
CIE-LABlab(34.24, 14.40, -44.03)
CIE-LCHlch(34.24, 46.32, 288.11°)
OKLaboklab(43.81% -0.0119 -0.1262)
OKLCHoklch(43.81% 0.127 264.6)
XYZxyz(9.3645, 8.1220, 30.3463)
Luminance0.0812 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4D97 #97782E
analogous
#2E8197 #2E4D97 #432E97
triadic
#2E4D97 #972E4D #4D972E
tetradic
#2E4D97 #972E81 #97782E #2E9743
square
#2E4D97 #972E81 #97782E #2E9743
split-complementary
#2E4D97 #97432E #81972E
monochromatic
#111D39 #203568 #2E4D97 #3E66C4 #6D8BD2

Accessibility & contrast

On white

8.00
#2E4D97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#2E4D97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4D97
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4D97#FFFFFF#000000##FFFFFF
##2E4D971.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25569A
Deuteranopia (green-blind)
#0B4C95
Tritanopia (blue-blind)
#005E6A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2e4d97;
/* rgb */ color: rgb(46, 77, 151);
/* oklch */ color: oklch(43.8% 0.127 264.6);
Tailwind
colors: {
  custom: {
    50: '#737eb6',
    500: '#2e4d97',
    950: '#000000',
  },
}
SCSS
$custom: #2e4d97;
$custom-light: #737eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4d97",
  "rgb": {
    "r": 46,
    "g": 77,
    "b": 151
  },
  "hsl": {
    "h": 222.286,
    "s": 53.299,
    "l": 38.627
  },
  "oklch": {
    "l": 0.43807,
    "c": 0.12675,
    "h": 264.6
  },
  "luminance": 0.08123
}

Semantic roles & 50–950 ramp

primary
#2E4D97
secondary
#BAA167
accent
#B24BDD
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2E4D97

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

Preview Lab → · Contrast checker → · Palette generator →

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