#2E64B5#2E64B5

#2E64B5 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.0% C 0.141 H 258.5°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#2E64B5
RGBrgb(46, 100, 181)
HSLhsl(216, 59%, 45%)
HSVhsv(216, 75%, 71%)
CMYKcmyk(74.6%, 44.8%, 0%, 29%)
CIE-LABlab(42.81, 10.71, -48.11)
CIE-LCHlch(42.81, 49.29, 282.55°)
OKLaboklab(51.02% -0.028 -0.1378)
OKLCHoklch(51.02% 0.141 258.5)
XYZxyz(14.0213, 13.0298, 45.4831)
Luminance0.1303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E64B5 #B57F2E
analogous
#2EA8B5 #2E64B5 #3C2EB5
triadic
#2E64B5 #B52E64 #64B52E
tetradic
#2E64B5 #B52EA8 #B57F2E #2EB53C
square
#2E64B5 #B52EA8 #B57F2E #2EB53C
split-complementary
#2E64B5 #B53C2E #A8B52E
monochromatic
#152E53 #224984 #2E64B5 #4E83D2 #7FA5DE

Accessibility & contrast

On white

5.82
#2E64B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#2E64B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E64B5
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E64B5#FFFFFF#000000##FFFFFF
##2E64B51.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B6CB8
Deuteranopia (green-blind)
#205FB3
Tritanopia (blue-blind)
#007783
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2e64b5;
/* rgb */ color: rgb(46, 100, 181);
/* oklch */ color: oklch(51.0% 0.141 258.5);
Tailwind
colors: {
  custom: {
    50: '#798fcc',
    500: '#2e64b5',
    950: '#000000',
  },
}
SCSS
$custom: #2e64b5;
$custom-light: #798fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#2e64b5",
  "rgb": {
    "r": 46,
    "g": 100,
    "b": 181
  },
  "hsl": {
    "h": 216,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.51016,
    "c": 0.14061,
    "h": 258.5
  },
  "luminance": 0.13031
}

Semantic roles & 50–950 ramp

primary
#2E64B5
secondary
#C7A778
accent
#A445E3
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2E64B5

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

Preview Lab → · Contrast checker → · Palette generator →

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