#2E5098#2E5098

#2E5098 is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.5% C 0.124 H 263.2°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#2E5098
RGBrgb(46, 80, 152)
HSLhsl(221, 54%, 39%)
HSVhsv(221, 70%, 60%)
CMYKcmyk(69.7%, 47.4%, 0%, 40.4%)
CIE-LABlab(35.17, 12.78, -43.13)
CIE-LCHlch(35.17, 44.98, 286.50°)
OKLaboklab(44.54% -0.0146 -0.1235)
OKLCHoklch(44.54% 0.124 263.2)
XYZxyz(9.6609, 8.5842, 30.8475)
Luminance0.0858 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5098 #98762E
analogous
#2E8598 #2E5098 #412E98
triadic
#2E5098 #982E50 #50982E
tetradic
#2E5098 #982E85 #98762E #2E9841
square
#2E5098 #982E85 #98762E #2E9841
split-complementary
#2E5098 #98412E #85982E
monochromatic
#121F3A #203769 #2E5098 #3E6AC5 #6D8ED3

Accessibility & contrast

On white

7.73
#2E5098 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#2E5098 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5098
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5098#FFFFFF#000000##FFFFFF
##2E50981.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B589B
Deuteranopia (green-blind)
#154E97
Tritanopia (blue-blind)
#00616C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2e5098;
/* rgb */ color: rgb(46, 80, 152);
/* oklch */ color: oklch(44.5% 0.124 263.2);
Tailwind
colors: {
  custom: {
    50: '#7480b7',
    500: '#2e5098',
    950: '#000000',
  },
}
SCSS
$custom: #2e5098;
$custom-light: #7480b7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5098",
  "rgb": {
    "r": 46,
    "g": 80,
    "b": 152
  },
  "hsl": {
    "h": 220.755,
    "s": 53.535,
    "l": 38.824
  },
  "oklch": {
    "l": 0.44544,
    "c": 0.12436,
    "h": 263.2
  },
  "luminance": 0.08585
}

Semantic roles & 50–950 ramp

primary
#2E5098
secondary
#BAA068
accent
#AE4BDD
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2E5098

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

Preview Lab → · Contrast checker → · Palette generator →

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