#2E4A97#2E4A97

#2E4A97 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.2% C 0.131 H 266.0°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#2E4A97
RGBrgb(46, 74, 151)
HSLhsl(224, 53%, 39%)
HSVhsv(224, 70%, 59%)
CMYKcmyk(69.5%, 51%, 0%, 40.8%)
CIE-LABlab(33.38, 16.41, -45.41)
CIE-LCHlch(33.38, 48.29, 289.87°)
OKLaboklab(43.15% -0.009 -0.1303)
OKLCHoklch(43.15% 0.131 266)
XYZxyz(9.1595, 7.7119, 30.2780)
Luminance0.0771 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4A97 #977B2E
analogous
#2E7E97 #2E4A97 #462E97
triadic
#2E4A97 #972E4A #4A972E
tetradic
#2E4A97 #972E7E #977B2E #2E9746
square
#2E4A97 #972E7E #977B2E #2E9746
split-complementary
#2E4A97 #97462E #7E972E
monochromatic
#111C39 #203368 #2E4A97 #3E62C4 #6D88D2

Accessibility & contrast

On white

8.26
#2E4A97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#2E4A97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4A97
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4A97#FFFFFF#000000##FFFFFF
##2E4A971.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E549A
Deuteranopia (green-blind)
#004A95
Tritanopia (blue-blind)
#005C69
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2e4a97;
/* rgb */ color: rgb(46, 74, 151);
/* oklch */ color: oklch(43.2% 0.131 266.0);
Tailwind
colors: {
  custom: {
    50: '#747cb6',
    500: '#2e4a97',
    950: '#000000',
  },
}
SCSS
$custom: #2e4a97;
$custom-light: #747cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4a97",
  "rgb": {
    "r": 46,
    "g": 74,
    "b": 151
  },
  "hsl": {
    "h": 224,
    "s": 53.299,
    "l": 38.627
  },
  "oklch": {
    "l": 0.43151,
    "c": 0.13062,
    "h": 266
  },
  "luminance": 0.07713
}

Semantic roles & 50–950 ramp

primary
#2E4A97
secondary
#BAA467
accent
#B64BDD
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2E4A97

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

Preview Lab → · Contrast checker → · Palette generator →

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