#2E5BBA#2E5BBA

#2E5BBA is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.4% C 0.158 H 262.9°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#2E5BBA
RGBrgb(46, 91, 186)
HSLhsl(221, 60%, 45%)
HSVhsv(221, 75%, 73%)
CMYKcmyk(75.3%, 51.1%, 0%, 27.1%)
CIE-LABlab(40.58, 18.44, -54.62)
CIE-LCHlch(40.58, 57.64, 288.65°)
OKLaboklab(49.41% -0.0196 -0.1571)
OKLCHoklch(49.41% 0.158 262.9)
XYZxyz(13.7276, 11.6067, 47.9617)
Luminance0.1161 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5BBA #BA8D2E
analogous
#2EA1BA #2E5BBA #472EBA
triadic
#2E5BBA #BA2E5B #5BBA2E
tetradic
#2E5BBA #BA2EA1 #BA8D2E #2EBA47
square
#2E5BBA #BA2EA1 #BA8D2E #2EBA47
split-complementary
#2E5BBA #BA472E #A1BA2E
monochromatic
#162B58 #224389 #2E5BBA #517BD4 #82A0E0

Accessibility & contrast

On white

6.32
#2E5BBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#2E5BBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5BBA
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5BBA#FFFFFF#000000##FFFFFF
##2E5BBA1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F66BD
Deuteranopia (green-blind)
#005AB8
Tritanopia (blue-blind)
#007282
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2e5bba;
/* rgb */ color: rgb(46, 91, 186);
/* oklch */ color: oklch(49.4% 0.158 262.9);
Tailwind
colors: {
  custom: {
    50: '#7a88cf',
    500: '#2e5bba',
    950: '#000000',
  },
}
SCSS
$custom: #2e5bba;
$custom-light: #7a88cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5bba",
  "rgb": {
    "r": 46,
    "g": 91,
    "b": 186
  },
  "hsl": {
    "h": 220.714,
    "s": 60.345,
    "l": 45.49
  },
  "oklch": {
    "l": 0.49414,
    "c": 0.15832,
    "h": 262.9
  },
  "luminance": 0.11608
}

Semantic roles & 50–950 ramp

primary
#2E5BBA
secondary
#C9B07B
accent
#B044E3
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #2E5BBA

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

Preview Lab → · Contrast checker → · Palette generator →

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