#2E5EB4#2E5EB4

#2E5EB4 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 49.6% C 0.146 H 261.0°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#2E5EB4
RGBrgb(46, 94, 180)
HSLhsl(219, 59%, 44%)
HSVhsv(219, 74%, 71%)
CMYKcmyk(74.4%, 47.8%, 0%, 29.4%)
CIE-LABlab(41.02, 14.21, -50.39)
CIE-LCHlch(41.02, 52.35, 285.74°)
OKLaboklab(49.62% -0.0229 -0.1446)
OKLCHoklch(49.62% 0.146 261)
XYZxyz(13.3647, 11.8801, 44.7599)
Luminance0.1188 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5EB4 #B4842E
analogous
#2EA1B4 #2E5EB4 #412EB4
triadic
#2E5EB4 #B42E5E #5EB42E
tetradic
#2E5EB4 #B42EA1 #B4842E #2EB441
square
#2E5EB4 #B42EA1 #B4842E #2EB441
split-complementary
#2E5EB4 #B4412E #A1B42E
monochromatic
#152B53 #224583 #2E5EB4 #4E7DD2 #7EA1DE

Accessibility & contrast

On white

6.22
#2E5EB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#2E5EB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5EB4
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5EB4#FFFFFF#000000##FFFFFF
##2E5EB41.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F67B7
Deuteranopia (green-blind)
#085BB2
Tritanopia (blue-blind)
#007280
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2e5eb4;
/* rgb */ color: rgb(46, 94, 180);
/* oklch */ color: oklch(49.6% 0.146 261.0);
Tailwind
colors: {
  custom: {
    50: '#798bcb',
    500: '#2e5eb4',
    950: '#000000',
  },
}
SCSS
$custom: #2e5eb4;
$custom-light: #798bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5eb4",
  "rgb": {
    "r": 46,
    "g": 94,
    "b": 180
  },
  "hsl": {
    "h": 218.507,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.49622,
    "c": 0.14642,
    "h": 261
  },
  "luminance": 0.11882
}

Semantic roles & 50–950 ramp

primary
#2E5EB4
secondary
#C7AA77
accent
#AA45E2
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2E5EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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