#2E64C1#2E64C1

#2E64C1 is a mid, vivid blue. Relative luminance 0.135; OKLCH L 51.8% C 0.157 H 260.5°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#2E64C1
RGBrgb(46, 100, 193)
HSLhsl(218, 62%, 47%)
HSVhsv(218, 76%, 76%)
CMYKcmyk(76.2%, 48.2%, 0%, 24.3%)
CIE-LABlab(43.57, 15.25, -53.87)
CIE-LCHlch(43.57, 55.99, 285.81°)
OKLaboklab(51.85% -0.0259 -0.1547)
OKLCHoklch(51.85% 0.157 260.5)
XYZxyz(15.3060, 13.5437, 52.2493)
Luminance0.1354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E64C1 #C18B2E
analogous
#2EAEC1 #2E64C1 #422EC1
triadic
#2E64C1 #C12E64 #64C12E
tetradic
#2E64C1 #C12EAE #C18B2E #2EC142
square
#2E64C1 #C12EAE #C18B2E #2EC142
split-complementary
#2E64C1 #C1422E #AEC12E
monochromatic
#16315E #224A90 #2E64C1 #5685D7 #87A9E2

Accessibility & contrast

On white

5.66
#2E64C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#2E64C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E64C1
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E64C1#FFFFFF#000000##FFFFFF
##2E64C11.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#306EC4
Deuteranopia (green-blind)
#0061BF
Tritanopia (blue-blind)
#007A89
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2e64c1;
/* rgb */ color: rgb(46, 100, 193);
/* oklch */ color: oklch(51.8% 0.157 260.5);
Tailwind
colors: {
  custom: {
    50: '#7c8fd4',
    500: '#2e64c1',
    950: '#000000',
  },
}
SCSS
$custom: #2e64c1;
$custom-light: #7c8fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e64c1",
  "rgb": {
    "r": 46,
    "g": 100,
    "b": 193
  },
  "hsl": {
    "h": 217.959,
    "s": 61.506,
    "l": 46.863
  },
  "oklch": {
    "l": 0.51848,
    "c": 0.1569,
    "h": 260.5
  },
  "luminance": 0.13545
}

Semantic roles & 50–950 ramp

primary
#2E64C1
secondary
#CCB07F
accent
#A943E5
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #2E64C1

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

Preview Lab → · Contrast checker → · Palette generator →

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