#2E5BC7#2E5BC7

#2E5BC7 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.4% C 0.176 H 264.0°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#2E5BC7
RGBrgb(46, 91, 199)
HSLhsl(222, 62%, 48%)
HSVhsv(222, 77%, 78%)
CMYKcmyk(76.9%, 54.3%, 0%, 22%)
CIE-LABlab(41.51, 23.35, -60.68)
CIE-LCHlch(41.51, 65.02, 291.05°)
OKLaboklab(50.41% -0.0183 -0.1749)
OKLCHoklch(50.41% 0.176 264)
XYZxyz(15.1729, 12.1848, 55.5740)
Luminance0.1219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5BC7 #C79A2E
analogous
#2EA7C7 #2E5BC7 #4D2EC7
triadic
#2E5BC7 #C72E5B #5BC72E
tetradic
#2E5BC7 #C72EA7 #C79A2E #2EC74D
square
#2E5BC7 #C72EA7 #C79A2E #2EC74D
split-complementary
#2E5BC7 #C74D2E #A7C72E
monochromatic
#172E64 #234495 #2E5BC7 #597FD9 #8BA5E4

Accessibility & contrast

On white

6.11
#2E5BC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#2E5BC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5BC7
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5BC7#FFFFFF#000000##FFFFFF
##2E5BC71.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CB
Deuteranopia (green-blind)
#005BC5
Tritanopia (blue-blind)
#007688
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2e5bc7;
/* rgb */ color: rgb(46, 91, 199);
/* oklch */ color: oklch(50.4% 0.176 264.0);
Tailwind
colors: {
  custom: {
    50: '#7d88d9',
    500: '#2e5bc7',
    950: '#000000',
  },
}
SCSS
$custom: #2e5bc7;
$custom-light: #7d88d9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5bc7",
  "rgb": {
    "r": 46,
    "g": 91,
    "b": 199
  },
  "hsl": {
    "h": 222.353,
    "s": 62.449,
    "l": 48.039
  },
  "oklch": {
    "l": 0.50409,
    "c": 0.1759,
    "h": 264
  },
  "luminance": 0.12187
}

Semantic roles & 50–950 ramp

primary
#2E5BC7
secondary
#CEB883
accent
#B642E6
background
#F8F8FD
surface
#EFEFFB
border
#CACAD4
text
#0B0B15
muted
#7C7C83

Preview Lab

Preview with #2E5BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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