#2E4598#2E4598

#2E4598 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.2% C 0.139 H 268.2°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#2E4598
RGBrgb(46, 69, 152)
HSLhsl(227, 54%, 39%)
HSVhsv(227, 70%, 60%)
CMYKcmyk(69.7%, 54.6%, 0%, 40.4%)
CIE-LABlab(32.04, 20.15, -48.18)
CIE-LCHlch(32.04, 52.22, 292.70°)
OKLaboklab(42.16% -0.0043 -0.1385)
OKLCHoklch(42.16% 0.139 268.2)
XYZxyz(8.9204, 7.1032, 30.6006)
Luminance0.0710 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4598 #98812E
analogous
#2E7A98 #2E4598 #4C2E98
triadic
#2E4598 #982E45 #45982E
tetradic
#2E4598 #982E7A #98812E #2E984C
square
#2E4598 #982E7A #98812E #2E984C
split-complementary
#2E4598 #984C2E #7A982E
monochromatic
#121A3A #203069 #2E4598 #3E5CC5 #6D83D3

Accessibility & contrast

On white

8.67
#2E4598 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#2E4598 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4598
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4598#FFFFFF#000000##FFFFFF
##2E45981.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08509B
Deuteranopia (green-blind)
#004796
Tritanopia (blue-blind)
#005967
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2e4598;
/* rgb */ color: rgb(46, 69, 152);
/* oklch */ color: oklch(42.2% 0.139 268.2);
Tailwind
colors: {
  custom: {
    50: '#7478b7',
    500: '#2e4598',
    950: '#000000',
  },
}
SCSS
$custom: #2e4598;
$custom-light: #7478b7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4598",
  "rgb": {
    "r": 46,
    "g": 69,
    "b": 152
  },
  "hsl": {
    "h": 226.981,
    "s": 53.535,
    "l": 38.824
  },
  "oklch": {
    "l": 0.42163,
    "c": 0.13859,
    "h": 268.2
  },
  "luminance": 0.07104
}

Semantic roles & 50–950 ramp

primary
#2E4598
secondary
#BAA868
accent
#BD4BDD
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2E4598

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

Preview Lab → · Contrast checker → · Palette generator →

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