#2E5BA6#2E5BA6

#2E5BA6 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.0% C 0.131 H 260.0°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#2E5BA6
RGBrgb(46, 91, 166)
HSLhsl(218, 57%, 42%)
HSVhsv(218, 72%, 65%)
CMYKcmyk(72.3%, 45.2%, 0%, 34.9%)
CIE-LABlab(39.27, 10.85, -44.95)
CIE-LCHlch(39.27, 46.24, 283.57°)
OKLaboklab(47.98% -0.0226 -0.1287)
OKLCHoklch(47.98% 0.131 260)
XYZxyz(11.7483, 10.8149, 37.5373)
Luminance0.1082 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5BA6 #A6792E
analogous
#2E97A6 #2E5BA6 #3D2EA6
triadic
#2E5BA6 #A62E5B #5BA62E
tetradic
#2E5BA6 #A62E97 #A6792E #2EA63D
square
#2E5BA6 #A62E97 #A6792E #2EA63D
split-complementary
#2E5BA6 #A63D2E #97A62E
monochromatic
#132646 #214176 #2E5BA6 #4678CC #769BD9

Accessibility & contrast

On white

6.64
#2E5BA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#2E5BA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5BA6
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5BA6#FFFFFF#000000##FFFFFF
##2E5BA61.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3562A9
Deuteranopia (green-blind)
#1E57A4
Tritanopia (blue-blind)
#006D78
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2e5ba6;
/* rgb */ color: rgb(46, 91, 166);
/* oklch */ color: oklch(48.0% 0.131 260.0);
Tailwind
colors: {
  custom: {
    50: '#7688c1',
    500: '#2e5ba6',
    950: '#000000',
  },
}
SCSS
$custom: #2e5ba6;
$custom-light: #7688c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5ba6",
  "rgb": {
    "r": 46,
    "g": 91,
    "b": 166
  },
  "hsl": {
    "h": 217.5,
    "s": 56.604,
    "l": 41.569
  },
  "oklch": {
    "l": 0.47982,
    "c": 0.13064,
    "h": 260
  },
  "luminance": 0.10816
}

Semantic roles & 50–950 ramp

primary
#2E5BA6
secondary
#C1A26F
accent
#A748E0
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #2E5BA6

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

Preview Lab → · Contrast checker → · Palette generator →

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