#2E5BB5#2E5BB5

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

Color values

HEX#2E5BB5
RGBrgb(46, 91, 181)
HSLhsl(220, 59%, 45%)
HSVhsv(220, 75%, 71%)
CMYKcmyk(74.6%, 49.7%, 0%, 29%)
CIE-LABlab(40.24, 16.54, -52.24)
CIE-LCHlch(40.24, 54.79, 287.57°)
OKLaboklab(49.04% -0.0202 -0.1501)
OKLCHoklch(49.04% 0.151 262.3)
XYZxyz(13.2053, 11.3978, 45.2111)
Luminance0.1140 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5BB5 #B5882E
analogous
#2E9FB5 #2E5BB5 #452EB5
triadic
#2E5BB5 #B52E5B #5BB52E
tetradic
#2E5BB5 #B52E9F #B5882E #2EB545
square
#2E5BB5 #B52E9F #B5882E #2EB545
split-complementary
#2E5BB5 #B5452E #9FB52E
monochromatic
#152A53 #224284 #2E5BB5 #4E7AD2 #7F9FDE

Accessibility & contrast

On white

6.40
#2E5BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#2E5BB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5BB5
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5BB5#FFFFFF#000000##FFFFFF
##2E5BB51.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2665B8
Deuteranopia (green-blind)
#0059B3
Tritanopia (blue-blind)
#00707F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2e5bb5;
/* rgb */ color: rgb(46, 91, 181);
/* oklch */ color: oklch(49.0% 0.151 262.3);
Tailwind
colors: {
  custom: {
    50: '#7988cc',
    500: '#2e5bb5',
    950: '#000000',
  },
}
SCSS
$custom: #2e5bb5;
$custom-light: #7988cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5bb5",
  "rgb": {
    "r": 46,
    "g": 91,
    "b": 181
  },
  "hsl": {
    "h": 220,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.49044,
    "c": 0.15147,
    "h": 262.3
  },
  "luminance": 0.11399
}

Semantic roles & 50–950 ramp

primary
#2E5BB5
secondary
#C7AD78
accent
#AE45E3
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2E5BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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