#2E64D3#2E64D3

#2E64D3 is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.2% C 0.181 H 262.5°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#2E64D3
RGBrgb(46, 100, 211)
HSLhsl(220, 65%, 50%)
HSVhsv(220, 78%, 83%)
CMYKcmyk(78.2%, 52.6%, 0%, 17.3%)
CIE-LABlab(44.80, 22.06, -62.25)
CIE-LCHlch(44.80, 66.05, 289.51°)
OKLaboklab(53.17% -0.0237 -0.1794)
OKLCHoklch(53.17% 0.181 262.5)
XYZxyz(17.4375, 14.3963, 63.4751)
Luminance0.1440 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E64D3 #D39D2E
analogous
#2EB6D3 #2E64D3 #4B2ED3
triadic
#2E64D3 #D32E64 #64D32E
tetradic
#2E64D3 #D32EB6 #D39D2E #2ED34B
square
#2E64D3 #D32EB6 #D39D2E #2ED34B
split-complementary
#2E64D3 #D34B2E #B6D32E
monochromatic
#17346F #224CA2 #2E64D3 #6189DE #93AFE8

Accessibility & contrast

On white

5.41
#2E64D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#2E64D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E64D3
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E64D3#FFFFFF#000000##FFFFFF
##2E64D31.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F72D7
Deuteranopia (green-blind)
#0063D1
Tritanopia (blue-blind)
#007F92
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2e64d3;
/* rgb */ color: rgb(46, 100, 211);
/* oklch */ color: oklch(53.2% 0.181 262.5);
Tailwind
colors: {
  custom: {
    50: '#808fe1',
    500: '#2e64d3',
    950: '#000000',
  },
}
SCSS
$custom: #2e64d3;
$custom-light: #808fe1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e64d3",
  "rgb": {
    "r": 46,
    "g": 100,
    "b": 211
  },
  "hsl": {
    "h": 220.364,
    "s": 65.217,
    "l": 50.392
  },
  "oklch": {
    "l": 0.53174,
    "c": 0.18096,
    "h": 262.5
  },
  "luminance": 0.14398
}

Semantic roles & 50–950 ramp

primary
#2E64D3
secondary
#D3BB8A
accent
#B140E8
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #2E64D3

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

Preview Lab → · Contrast checker → · Palette generator →

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