#2E4498#2E4498

#2E4498 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.0% C 0.140 H 268.6°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#2E4498
RGBrgb(46, 68, 152)
HSLhsl(228, 54%, 39%)
HSVhsv(228, 70%, 60%)
CMYKcmyk(69.7%, 55.3%, 0%, 40.4%)
CIE-LABlab(31.76, 20.82, -48.62)
CIE-LCHlch(31.76, 52.90, 293.18°)
OKLaboklab(41.95% -0.0034 -0.1399)
OKLCHoklch(41.95% 0.14 268.6)
XYZxyz(8.8594, 6.9812, 30.5803)
Luminance0.0698 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4498 #98822E
analogous
#2E7998 #2E4498 #4D2E98
triadic
#2E4498 #982E44 #44982E
tetradic
#2E4498 #982E79 #98822E #2E984D
square
#2E4498 #982E79 #98822E #2E984D
split-complementary
#2E4498 #984D2E #79982E
monochromatic
#121A3A #202F69 #2E4498 #3E5AC5 #6D83D3

Accessibility & contrast

On white

8.76
#2E4498 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#2E4498 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4498
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4498#FFFFFF#000000##FFFFFF
##2E44981.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02509B
Deuteranopia (green-blind)
#004696
Tritanopia (blue-blind)
#005867
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2e4498;
/* rgb */ color: rgb(46, 68, 152);
/* oklch */ color: oklch(42.0% 0.140 268.6);
Tailwind
colors: {
  custom: {
    50: '#7477b7',
    500: '#2e4498',
    950: '#000000',
  },
}
SCSS
$custom: #2e4498;
$custom-light: #7477b7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4498",
  "rgb": {
    "r": 46,
    "g": 68,
    "b": 152
  },
  "hsl": {
    "h": 227.547,
    "s": 53.535,
    "l": 38.824
  },
  "oklch": {
    "l": 0.41954,
    "c": 0.1399,
    "h": 268.6
  },
  "luminance": 0.06982
}

Semantic roles & 50–950 ramp

primary
#2E4498
secondary
#BAA968
accent
#BF4BDD
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2E4498

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

Preview Lab → · Contrast checker → · Palette generator →

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