#2E5AB4#2E5AB4

#2E5AB4 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 48.8% C 0.151 H 262.6°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#2E5AB4
RGBrgb(46, 90, 180)
HSLhsl(220, 59%, 44%)
HSVhsv(220, 74%, 71%)
CMYKcmyk(74.4%, 50%, 0%, 29.4%)
CIE-LABlab(39.89, 16.81, -52.21)
CIE-LCHlch(39.89, 54.85, 287.85°)
OKLaboklab(48.76% -0.0195 -0.15)
OKLCHoklch(48.76% 0.151 262.6)
XYZxyz(13.0182, 11.1870, 44.6444)
Luminance0.1119 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5AB4 #B4882E
analogous
#2E9DB4 #2E5AB4 #452EB4
triadic
#2E5AB4 #B42E5A #5AB42E
tetradic
#2E5AB4 #B42E9D #B4882E #2EB445
square
#2E5AB4 #B42E9D #B4882E #2EB445
split-complementary
#2E5AB4 #B4452E #9DB42E
monochromatic
#152953 #224283 #2E5AB4 #4E79D2 #7E9EDE

Accessibility & contrast

On white

6.49
#2E5AB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#2E5AB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5AB4
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5AB4#FFFFFF#000000##FFFFFF
##2E5AB41.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2565B7
Deuteranopia (green-blind)
#0058B2
Tritanopia (blue-blind)
#006F7E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2e5ab4;
/* rgb */ color: rgb(46, 90, 180);
/* oklch */ color: oklch(48.8% 0.151 262.6);
Tailwind
colors: {
  custom: {
    50: '#7988cb',
    500: '#2e5ab4',
    950: '#000000',
  },
}
SCSS
$custom: #2e5ab4;
$custom-light: #7988cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5ab4",
  "rgb": {
    "r": 46,
    "g": 90,
    "b": 180
  },
  "hsl": {
    "h": 220.299,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.48756,
    "c": 0.15131,
    "h": 262.6
  },
  "luminance": 0.11188
}

Semantic roles & 50–950 ramp

primary
#2E5AB4
secondary
#C7AD77
accent
#AF45E2
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2E5AB4

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

Preview Lab → · Contrast checker → · Palette generator →

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