#2E5BB4#2E5BB4

#2E5BB4 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.0% C 0.150 H 262.2°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#2E5BB4
RGBrgb(46, 91, 180)
HSLhsl(220, 59%, 44%)
HSVhsv(220, 74%, 71%)
CMYKcmyk(74.4%, 49.4%, 0%, 29.4%)
CIE-LABlab(40.18, 16.16, -51.76)
CIE-LCHlch(40.18, 54.22, 287.34°)
OKLaboklab(48.97% -0.0204 -0.1487)
OKLCHoklch(48.97% 0.15 262.2)
XYZxyz(13.1031, 11.3569, 44.6727)
Luminance0.1136 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5BB4 #B4872E
analogous
#2E9EB4 #2E5BB4 #442EB4
triadic
#2E5BB4 #B42E5B #5BB42E
tetradic
#2E5BB4 #B42E9E #B4872E #2EB444
square
#2E5BB4 #B42E9E #B4872E #2EB444
split-complementary
#2E5BB4 #B4442E #9EB42E
monochromatic
#152A53 #224283 #2E5BB4 #4E7AD2 #7E9EDE

Accessibility & contrast

On white

6.42
#2E5BB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#2E5BB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5BB4
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5BB4#FFFFFF#000000##FFFFFF
##2E5BB41.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2865B7
Deuteranopia (green-blind)
#0059B2
Tritanopia (blue-blind)
#00707F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2e5bb4;
/* rgb */ color: rgb(46, 91, 180);
/* oklch */ color: oklch(49.0% 0.150 262.2);
Tailwind
colors: {
  custom: {
    50: '#7988cb',
    500: '#2e5bb4',
    950: '#000000',
  },
}
SCSS
$custom: #2e5bb4;
$custom-light: #7988cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5bb4",
  "rgb": {
    "r": 46,
    "g": 91,
    "b": 180
  },
  "hsl": {
    "h": 219.851,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.48971,
    "c": 0.15009,
    "h": 262.2
  },
  "luminance": 0.11358
}

Semantic roles & 50–950 ramp

primary
#2E5BB4
secondary
#C7AC77
accent
#AE45E2
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2E5BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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