#2E5BB6#2E5BB6

#2E5BB6 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.1% C 0.153 H 262.4°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#2E5BB6
RGBrgb(46, 91, 182)
HSLhsl(220, 60%, 45%)
HSVhsv(220, 75%, 71%)
CMYKcmyk(74.7%, 50%, 0%, 28.6%)
CIE-LABlab(40.31, 16.92, -52.72)
CIE-LCHlch(40.31, 55.36, 287.80°)
OKLaboklab(49.12% -0.0201 -0.1515)
OKLCHoklch(49.12% 0.153 262.4)
XYZxyz(13.3083, 11.4389, 45.7535)
Luminance0.1144 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5BB6 #B6892E
analogous
#2E9FB6 #2E5BB6 #452EB6
triadic
#2E5BB6 #B62E5B #5BB62E
tetradic
#2E5BB6 #B62E9F #B6892E #2EB645
square
#2E5BB6 #B62E9F #B6892E #2EB645
split-complementary
#2E5BB6 #B6452E #9FB62E
monochromatic
#152A54 #224385 #2E5BB6 #4F7AD2 #809FDF

Accessibility & contrast

On white

6.39
#2E5BB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#2E5BB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5BB6
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5BB6#FFFFFF#000000##FFFFFF
##2E5BB61.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2566B9
Deuteranopia (green-blind)
#0059B4
Tritanopia (blue-blind)
#007180
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2e5bb6;
/* rgb */ color: rgb(46, 91, 182);
/* oklch */ color: oklch(49.1% 0.153 262.4);
Tailwind
colors: {
  custom: {
    50: '#7a88cc',
    500: '#2e5bb6',
    950: '#000000',
  },
}
SCSS
$custom: #2e5bb6;
$custom-light: #7a88cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5bb6",
  "rgb": {
    "r": 46,
    "g": 91,
    "b": 182
  },
  "hsl": {
    "h": 220.147,
    "s": 59.649,
    "l": 44.706
  },
  "oklch": {
    "l": 0.49117,
    "c": 0.15284,
    "h": 262.4
  },
  "luminance": 0.1144
}

Semantic roles & 50–950 ramp

primary
#2E5BB6
secondary
#C8AD78
accent
#AF45E3
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2E5BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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