#2E5BDA#2E5BDA

#2E5BDA is a mid, highly saturated blue. Relative luminance 0.131; OKLCH L 51.9% C 0.201 H 265.1°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#2E5BDA
RGBrgb(46, 91, 218)
HSLhsl(224, 70%, 52%)
HSVhsv(224, 79%, 85%)
CMYKcmyk(78.9%, 58.3%, 0%, 14.5%)
CIE-LABlab(42.95, 30.46, -69.26)
CIE-LCHlch(42.95, 75.66, 293.74°)
OKLaboklab(51.94% -0.0172 -0.2001)
OKLCHoklch(51.94% 0.201 265.1)
XYZxyz(17.5182, 13.1229, 67.9258)
Luminance0.1313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5BDA #DAAD2E
analogous
#2EB1DA #2E5BDA #572EDA
triadic
#2E5BDA #DA2E5B #5BDA2E
tetradic
#2E5BDA #DA2EB1 #DAAD2E #2EDA57
square
#2E5BDA #DA2EB1 #DAAD2E #2EDA57
split-complementary
#2E5BDA #DA572E #B1DA2E
monochromatic
#152F78 #1F44AC #2E5BDA #6284E3 #96ADEC

Accessibility & contrast

On white

5.79
#2E5BDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#2E5BDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5BDA
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5BDA#FFFFFF#000000##FFFFFF
##2E5BDA1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDE
Deuteranopia (green-blind)
#005ED8
Tritanopia (blue-blind)
#007B92
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2e5bda;
/* rgb */ color: rgb(46, 91, 218);
/* oklch */ color: oklch(51.9% 0.201 265.1);
Tailwind
colors: {
  custom: {
    50: '#8288e6',
    500: '#2e5bda',
    950: '#000000',
  },
}
SCSS
$custom: #2e5bda;
$custom-light: #8288e6;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5bda",
  "rgb": {
    "r": 46,
    "g": 91,
    "b": 218
  },
  "hsl": {
    "h": 224.302,
    "s": 69.919,
    "l": 51.765
  },
  "oklch": {
    "l": 0.51943,
    "c": 0.20089,
    "h": 265.1
  },
  "luminance": 0.13125
}

Semantic roles & 50–950 ramp

primary
#2E5BDA
secondary
#D8C48C
accent
#BE3BED
background
#F8F8FE
surface
#F0EFFC
border
#CBCAD5
text
#0C0B16
muted
#7D7C84

Preview Lab

Preview with #2E5BDA

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

Preview Lab → · Contrast checker → · Palette generator →

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