#2E5BB7#2E5BB7

#2E5BB7 is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.2% C 0.154 H 262.6°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#2E5BB7
RGBrgb(46, 91, 183)
HSLhsl(220, 60%, 45%)
HSVhsv(220, 75%, 72%)
CMYKcmyk(74.9%, 50.3%, 0%, 28.2%)
CIE-LABlab(40.38, 17.30, -53.19)
CIE-LCHlch(40.38, 55.93, 288.02°)
OKLaboklab(49.19% -0.02 -0.1529)
OKLCHoklch(49.19% 0.154 262.6)
XYZxyz(13.4120, 11.4804, 46.2997)
Luminance0.1148 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5BB7 #B78A2E
analogous
#2E9FB7 #2E5BB7 #462EB7
triadic
#2E5BB7 #B72E5B #5BB72E
tetradic
#2E5BB7 #B72E9F #B78A2E #2EB746
square
#2E5BB7 #B72E9F #B78A2E #2EB746
split-complementary
#2E5BB7 #B7462E #9FB72E
monochromatic
#152A55 #224386 #2E5BB7 #4F7BD3 #809FDF

Accessibility & contrast

On white

6.37
#2E5BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#2E5BB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5BB7
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5BB7#FFFFFF#000000##FFFFFF
##2E5BB71.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2466BA
Deuteranopia (green-blind)
#0059B5
Tritanopia (blue-blind)
#007180
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2e5bb7;
/* rgb */ color: rgb(46, 91, 183);
/* oklch */ color: oklch(49.2% 0.154 262.6);
Tailwind
colors: {
  custom: {
    50: '#7a88cd',
    500: '#2e5bb7',
    950: '#000000',
  },
}
SCSS
$custom: #2e5bb7;
$custom-light: #7a88cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5bb7",
  "rgb": {
    "r": 46,
    "g": 91,
    "b": 183
  },
  "hsl": {
    "h": 220.292,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.49191,
    "c": 0.15421,
    "h": 262.6
  },
  "luminance": 0.11482
}

Semantic roles & 50–950 ramp

primary
#2E5BB7
secondary
#C8AE79
accent
#AF45E3
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #2E5BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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