#2E5EB8#2E5EB8

#2E5EB8 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 49.9% C 0.152 H 261.6°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#2E5EB8
RGBrgb(46, 94, 184)
HSLhsl(219, 60%, 45%)
HSVhsv(219, 75%, 72%)
CMYKcmyk(75%, 48.9%, 0%, 27.8%)
CIE-LABlab(41.29, 15.72, -52.31)
CIE-LCHlch(41.29, 54.62, 286.73°)
OKLaboklab(49.91% -0.0223 -0.1503)
OKLCHoklch(49.91% 0.152 261.6)
XYZxyz(13.7780, 12.0454, 46.9370)
Luminance0.1205 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5EB8 #B8882E
analogous
#2EA3B8 #2E5EB8 #432EB8
triadic
#2E5EB8 #B82E5E #5EB82E
tetradic
#2E5EB8 #B82EA3 #B8882E #2EB843
square
#2E5EB8 #B82EA3 #B8882E #2EB843
split-complementary
#2E5EB8 #B8432E #A3B82E
monochromatic
#162C56 #224587 #2E5EB8 #507ED3 #81A2DF

Accessibility & contrast

On white

6.16
#2E5EB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#2E5EB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5EB8
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5EB8#FFFFFF#000000##FFFFFF
##2E5EB81.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B68BB
Deuteranopia (green-blind)
#005BB6
Tritanopia (blue-blind)
#007382
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2e5eb8;
/* rgb */ color: rgb(46, 94, 184);
/* oklch */ color: oklch(49.9% 0.152 261.6);
Tailwind
colors: {
  custom: {
    50: '#7a8bce',
    500: '#2e5eb8',
    950: '#000000',
  },
}
SCSS
$custom: #2e5eb8;
$custom-light: #7a8bce;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5eb8",
  "rgb": {
    "r": 46,
    "g": 94,
    "b": 184
  },
  "hsl": {
    "h": 219.13,
    "s": 60,
    "l": 45.098
  },
  "oklch": {
    "l": 0.49908,
    "c": 0.15191,
    "h": 261.6
  },
  "luminance": 0.12047
}

Semantic roles & 50–950 ramp

primary
#2E5EB8
secondary
#C8AD79
accent
#AC45E3
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #2E5EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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