#2E64B6#2E64B6

#2E64B6 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.1% C 0.142 H 258.7°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#2E64B6
RGBrgb(46, 100, 182)
HSLhsl(216, 60%, 45%)
HSVhsv(216, 75%, 71%)
CMYKcmyk(74.7%, 45.1%, 0%, 28.6%)
CIE-LABlab(42.87, 11.09, -48.60)
CIE-LCHlch(42.87, 49.85, 282.85°)
OKLaboklab(51.08% -0.0278 -0.1392)
OKLCHoklch(51.08% 0.142 258.7)
XYZxyz(14.1243, 13.0710, 46.0255)
Luminance0.1307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E64B6 #B6802E
analogous
#2EA8B6 #2E64B6 #3C2EB6
triadic
#2E64B6 #B62E64 #64B62E
tetradic
#2E64B6 #B62EA8 #B6802E #2EB63C
square
#2E64B6 #B62EA8 #B6802E #2EB63C
split-complementary
#2E64B6 #B63C2E #A8B62E
monochromatic
#152E54 #224985 #2E64B6 #4F83D2 #80A5DF

Accessibility & contrast

On white

5.81
#2E64B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2E64B6
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E64B6#FFFFFF#000000##FFFFFF
##2E64B61.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A6CB9
Deuteranopia (green-blind)
#1E5FB4
Tritanopia (blue-blind)
#007784
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2e64b6;
/* rgb */ color: rgb(46, 100, 182);
/* oklch */ color: oklch(51.1% 0.142 258.7);
Tailwind
colors: {
  custom: {
    50: '#798fcc',
    500: '#2e64b6',
    950: '#000000',
  },
}
SCSS
$custom: #2e64b6;
$custom-light: #798fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#2e64b6",
  "rgb": {
    "r": 46,
    "g": 100,
    "b": 182
  },
  "hsl": {
    "h": 216.176,
    "s": 59.649,
    "l": 44.706
  },
  "oklch": {
    "l": 0.51083,
    "c": 0.14197,
    "h": 258.7
  },
  "luminance": 0.13073
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E64B6

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

Preview Lab → · Contrast checker → · Palette generator →

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