#2E64B8#2E64B8

#2E64B8 is a mid, vivid blue. Relative luminance 0.132; OKLCH L 51.2% C 0.145 H 259.1°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#2E64B8
RGBrgb(46, 100, 184)
HSLhsl(217, 60%, 45%)
HSVhsv(217, 75%, 72%)
CMYKcmyk(75%, 45.7%, 0%, 27.8%)
CIE-LABlab(42.99, 11.84, -49.57)
CIE-LCHlch(42.99, 50.96, 283.44°)
OKLaboklab(51.22% -0.0274 -0.1421)
OKLCHoklch(51.22% 0.145 259.1)
XYZxyz(14.3325, 13.1543, 47.1218)
Luminance0.1316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E64B8 #B8822E
analogous
#2EA9B8 #2E64B8 #3D2EB8
triadic
#2E64B8 #B82E64 #64B82E
tetradic
#2E64B8 #B82EA9 #B8822E #2EB83D
square
#2E64B8 #B82EA9 #B8822E #2EB83D
split-complementary
#2E64B8 #B83D2E #A9B82E
monochromatic
#162F56 #224987 #2E64B8 #5083D3 #81A6DF

Accessibility & contrast

On white

5.78
#2E64B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#2E64B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E64B8
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E64B8#FFFFFF#000000##FFFFFF
##2E64B81.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#386CBB
Deuteranopia (green-blind)
#1A60B6
Tritanopia (blue-blind)
#007885
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2e64b8;
/* rgb */ color: rgb(46, 100, 184);
/* oklch */ color: oklch(51.2% 0.145 259.1);
Tailwind
colors: {
  custom: {
    50: '#7a8fce',
    500: '#2e64b8',
    950: '#000000',
  },
}
SCSS
$custom: #2e64b8;
$custom-light: #7a8fce;
$custom-dark: #000000;
JSON
{
  "hex": "#2e64b8",
  "rgb": {
    "r": 46,
    "g": 100,
    "b": 184
  },
  "hsl": {
    "h": 216.522,
    "s": 60,
    "l": 45.098
  },
  "oklch": {
    "l": 0.5122,
    "c": 0.1447,
    "h": 259.1
  },
  "luminance": 0.13156
}

Semantic roles & 50–950 ramp

primary
#2E64B8
secondary
#C8A979
accent
#A545E3
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C14
muted
#7C7D82

Preview Lab

Preview with #2E64B8

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

Preview Lab → · Contrast checker → · Palette generator →

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