#2E4398#2E4398

#2E4398 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.7% C 0.141 H 269.0°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#2E4398
RGBrgb(46, 67, 152)
HSLhsl(228, 54%, 39%)
HSVhsv(228, 70%, 60%)
CMYKcmyk(69.7%, 55.9%, 0%, 40.4%)
CIE-LABlab(31.49, 21.50, -49.07)
CIE-LCHlch(31.49, 53.57, 293.66°)
OKLaboklab(41.75% -0.0025 -0.1412)
OKLCHoklch(41.75% 0.141 269)
XYZxyz(8.7994, 6.8613, 30.5603)
Luminance0.0686 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4398 #98832E
analogous
#2E7898 #2E4398 #4E2E98
triadic
#2E4398 #982E43 #43982E
tetradic
#2E4398 #982E78 #98832E #2E984E
square
#2E4398 #982E78 #98832E #2E984E
split-complementary
#2E4398 #984E2E #78982E
monochromatic
#121A3A #202E69 #2E4398 #3E59C5 #6D82D3

Accessibility & contrast

On white

8.85
#2E4398 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#2E4398 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4398
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4398#FFFFFF#000000##FFFFFF
##2E43981.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9B
Deuteranopia (green-blind)
#004596
Tritanopia (blue-blind)
#005867
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2e4398;
/* rgb */ color: rgb(46, 67, 152);
/* oklch */ color: oklch(41.7% 0.141 269.0);
Tailwind
colors: {
  custom: {
    50: '#7476b7',
    500: '#2e4398',
    950: '#000000',
  },
}
SCSS
$custom: #2e4398;
$custom-light: #7476b7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4398",
  "rgb": {
    "r": 46,
    "g": 67,
    "b": 152
  },
  "hsl": {
    "h": 228.113,
    "s": 53.535,
    "l": 38.824
  },
  "oklch": {
    "l": 0.41747,
    "c": 0.1412,
    "h": 269
  },
  "luminance": 0.06862
}

Semantic roles & 50–950 ramp

primary
#2E4398
secondary
#BAAA68
accent
#C04BDD
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2E4398

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

Preview Lab → · Contrast checker → · Palette generator →

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