#2E4698#2E4698

#2E4698 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.4% C 0.137 H 267.8°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#2E4698
RGBrgb(46, 70, 152)
HSLhsl(226, 54%, 39%)
HSVhsv(226, 70%, 60%)
CMYKcmyk(69.7%, 53.9%, 0%, 40.4%)
CIE-LABlab(32.32, 19.48, -47.73)
CIE-LCHlch(32.32, 51.55, 292.20°)
OKLaboklab(42.37% -0.0052 -0.1372)
OKLCHoklch(42.37% 0.137 267.8)
XYZxyz(8.9824, 7.2273, 30.6213)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4698 #98802E
analogous
#2E7B98 #2E4698 #4B2E98
triadic
#2E4698 #982E46 #46982E
tetradic
#2E4698 #982E7B #98802E #2E984B
square
#2E4698 #982E7B #98802E #2E984B
split-complementary
#2E4698 #984B2E #7B982E
monochromatic
#121B3A #203069 #2E4698 #3E5DC5 #6D84D3

Accessibility & contrast

On white

8.59
#2E4698 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#2E4698 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4698
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4698#FFFFFF#000000##FFFFFF
##2E46981.008.592.458.59
#FFFFFF8.591.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E519B
Deuteranopia (green-blind)
#004796
Tritanopia (blue-blind)
#005A68
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2e4698;
/* rgb */ color: rgb(46, 70, 152);
/* oklch */ color: oklch(42.4% 0.137 267.8);
Tailwind
colors: {
  custom: {
    50: '#7479b7',
    500: '#2e4698',
    950: '#000000',
  },
}
SCSS
$custom: #2e4698;
$custom-light: #7479b7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4698",
  "rgb": {
    "r": 46,
    "g": 70,
    "b": 152
  },
  "hsl": {
    "h": 226.415,
    "s": 53.535,
    "l": 38.824
  },
  "oklch": {
    "l": 0.42372,
    "c": 0.13728,
    "h": 267.8
  },
  "luminance": 0.07228
}

Semantic roles & 50–950 ramp

primary
#2E4698
secondary
#BAA768
accent
#BC4BDD
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2E4698

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

Preview Lab → · Contrast checker → · Palette generator →

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