#2E4298#2E4298

#2E4298 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.5% C 0.143 H 269.4°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#2E4298
RGBrgb(46, 66, 152)
HSLhsl(229, 54%, 39%)
HSVhsv(229, 70%, 60%)
CMYKcmyk(69.7%, 56.6%, 0%, 40.4%)
CIE-LABlab(31.22, 22.17, -49.51)
CIE-LCHlch(31.22, 54.25, 294.12°)
OKLaboklab(41.54% -0.0016 -0.1425)
OKLCHoklch(41.54% 0.143 269.4)
XYZxyz(8.7405, 6.7434, 30.5407)
Luminance0.0674 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4298 #98842E
analogous
#2E7798 #2E4298 #4F2E98
triadic
#2E4298 #982E42 #42982E
tetradic
#2E4298 #982E77 #98842E #2E984F
square
#2E4298 #982E77 #98842E #2E984F
split-complementary
#2E4298 #984F2E #77982E
monochromatic
#12193A #202E69 #2E4298 #3E58C5 #6D81D3

Accessibility & contrast

On white

8.94
#2E4298 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#2E4298 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4298
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4298#FFFFFF#000000##FFFFFF
##2E42981.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9B
Deuteranopia (green-blind)
#004596
Tritanopia (blue-blind)
#005766
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2e4298;
/* rgb */ color: rgb(46, 66, 152);
/* oklch */ color: oklch(41.5% 0.143 269.4);
Tailwind
colors: {
  custom: {
    50: '#7476b7',
    500: '#2e4298',
    950: '#000000',
  },
}
SCSS
$custom: #2e4298;
$custom-light: #7476b7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4298",
  "rgb": {
    "r": 46,
    "g": 66,
    "b": 152
  },
  "hsl": {
    "h": 228.679,
    "s": 53.535,
    "l": 38.824
  },
  "oklch": {
    "l": 0.41542,
    "c": 0.14251,
    "h": 269.4
  },
  "luminance": 0.06744
}

Semantic roles & 50–950 ramp

primary
#2E4298
secondary
#BAAB68
accent
#C14BDD
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2E4298

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

Preview Lab → · Contrast checker → · Palette generator →

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