#2E4A98#2E4A98

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

Color values

HEX#2E4A98
RGBrgb(46, 74, 152)
HSLhsl(224, 54%, 39%)
HSVhsv(224, 70%, 60%)
CMYKcmyk(69.7%, 51.3%, 0%, 40.4%)
CIE-LABlab(33.45, 16.79, -45.91)
CIE-LCHlch(33.45, 48.88, 290.09°)
OKLaboklab(43.23% -0.0089 -0.1318)
OKLCHoklch(43.23% 0.132 266.1)
XYZxyz(9.2410, 7.7445, 30.7075)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4A98 #987C2E
analogous
#2E7F98 #2E4A98 #472E98
triadic
#2E4A98 #982E4A #4A982E
tetradic
#2E4A98 #982E7F #987C2E #2E9847
square
#2E4A98 #982E7F #987C2E #2E9847
split-complementary
#2E4A98 #98472E #7F982E
monochromatic
#121C3A #203369 #2E4A98 #3E62C5 #6D88D3

Accessibility & contrast

On white

8.24
#2E4A98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#2E4A98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4A98
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4A98#FFFFFF#000000##FFFFFF
##2E4A981.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C549B
Deuteranopia (green-blind)
#004A96
Tritanopia (blue-blind)
#005C6A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2e4a98;
/* rgb */ color: rgb(46, 74, 152);
/* oklch */ color: oklch(43.2% 0.132 266.1);
Tailwind
colors: {
  custom: {
    50: '#747cb7',
    500: '#2e4a98',
    950: '#000000',
  },
}
SCSS
$custom: #2e4a98;
$custom-light: #747cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4a98",
  "rgb": {
    "r": 46,
    "g": 74,
    "b": 152
  },
  "hsl": {
    "h": 224.151,
    "s": 53.535,
    "l": 38.824
  },
  "oklch": {
    "l": 0.43226,
    "c": 0.13207,
    "h": 266.1
  },
  "luminance": 0.07745
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E4A98

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

Preview Lab → · Contrast checker → · Palette generator →

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