#2E64BB#2E64BB

#2E64BB is a mid, vivid blue. Relative luminance 0.133; OKLCH L 51.4% C 0.149 H 259.6°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#2E64BB
RGBrgb(46, 100, 187)
HSLhsl(217, 61%, 46%)
HSVhsv(217, 75%, 73%)
CMYKcmyk(75.4%, 46.5%, 0%, 26.7%)
CIE-LABlab(43.18, 12.98, -51.01)
CIE-LCHlch(43.18, 52.64, 284.28°)
OKLaboklab(51.43% -0.0269 -0.1463)
OKLCHoklch(51.43% 0.149 259.6)
XYZxyz(14.6503, 13.2814, 48.7955)
Luminance0.1328 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E64BB #BB852E
analogous
#2EAABB #2E64BB #3E2EBB
triadic
#2E64BB #BB2E64 #64BB2E
tetradic
#2E64BB #BB2EAA #BB852E #2EBB3E
square
#2E64BB #BB2EAA #BB852E #2EBB3E
split-complementary
#2E64BB #BB3E2E #AABB2E
monochromatic
#162F59 #224A8A #2E64BB #5284D4 #83A7E0

Accessibility & contrast

On white

5.74
#2E64BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#2E64BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E64BB
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E64BB#FFFFFF#000000##FFFFFF
##2E64BB1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#366DBE
Deuteranopia (green-blind)
#1360B9
Tritanopia (blue-blind)
#007986
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2e64bb;
/* rgb */ color: rgb(46, 100, 187);
/* oklch */ color: oklch(51.4% 0.149 259.6);
Tailwind
colors: {
  custom: {
    50: '#7a8fd0',
    500: '#2e64bb',
    950: '#000000',
  },
}
SCSS
$custom: #2e64bb;
$custom-light: #7a8fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e64bb",
  "rgb": {
    "r": 46,
    "g": 100,
    "b": 187
  },
  "hsl": {
    "h": 217.021,
    "s": 60.515,
    "l": 45.686
  },
  "oklch": {
    "l": 0.51427,
    "c": 0.14877,
    "h": 259.6
  },
  "luminance": 0.13283
}

Semantic roles & 50–950 ramp

primary
#2E64BB
secondary
#CAAC7B
accent
#A744E4
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #2E64BB

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

Preview Lab → · Contrast checker → · Palette generator →

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