#2E4B97#2E4B97

#2E4B97 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.4% C 0.129 H 265.6°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#2E4B97
RGBrgb(46, 75, 151)
HSLhsl(223, 53%, 39%)
HSVhsv(223, 70%, 59%)
CMYKcmyk(69.5%, 50.3%, 0%, 40.8%)
CIE-LABlab(33.66, 15.74, -44.95)
CIE-LCHlch(33.66, 47.63, 289.30°)
OKLaboklab(43.37% -0.01 -0.1289)
OKLCHoklch(43.37% 0.129 265.6)
XYZxyz(9.2268, 7.8465, 30.3004)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4B97 #977A2E
analogous
#2E7F97 #2E4B97 #462E97
triadic
#2E4B97 #972E4B #4B972E
tetradic
#2E4B97 #972E7F #977A2E #2E9746
square
#2E4B97 #972E7F #977A2E #2E9746
split-complementary
#2E4B97 #97462E #7F972E
monochromatic
#111C39 #203468 #2E4B97 #3E63C4 #6D89D2

Accessibility & contrast

On white

8.17
#2E4B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#2E4B97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4B97
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4B97#FFFFFF#000000##FFFFFF
##2E4B971.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20549A
Deuteranopia (green-blind)
#004B95
Tritanopia (blue-blind)
#005D6A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2e4b97;
/* rgb */ color: rgb(46, 75, 151);
/* oklch */ color: oklch(43.4% 0.129 265.6);
Tailwind
colors: {
  custom: {
    50: '#747cb6',
    500: '#2e4b97',
    950: '#000000',
  },
}
SCSS
$custom: #2e4b97;
$custom-light: #747cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4b97",
  "rgb": {
    "r": 46,
    "g": 75,
    "b": 151
  },
  "hsl": {
    "h": 223.429,
    "s": 53.299,
    "l": 38.627
  },
  "oklch": {
    "l": 0.43368,
    "c": 0.12932,
    "h": 265.6
  },
  "luminance": 0.07847
}

Semantic roles & 50–950 ramp

primary
#2E4B97
secondary
#BAA367
accent
#B44BDD
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2E4B97

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

Preview Lab → · Contrast checker → · Palette generator →

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