#2E64CA#2E64CA

#2E64CA is a mid, vivid blue. Relative luminance 0.140; OKLCH L 52.5% C 0.169 H 261.6°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#2E64CA
RGBrgb(46, 100, 202)
HSLhsl(219, 63%, 49%)
HSVhsv(219, 77%, 79%)
CMYKcmyk(77.2%, 50.5%, 0%, 20.8%)
CIE-LABlab(44.17, 18.66, -58.10)
CIE-LCHlch(44.17, 61.02, 287.81°)
OKLaboklab(52.5% -0.0247 -0.1672)
OKLCHoklch(52.5% 0.169 261.6)
XYZxyz(16.3407, 13.9576, 57.6985)
Luminance0.1396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E64CA #CA942E
analogous
#2EB2CA #2E64CA #462ECA
triadic
#2E64CA #CA2E64 #64CA2E
tetradic
#2E64CA #CA2EB2 #CA942E #2ECA46
square
#2E64CA #CA2EB2 #CA942E #2ECA46
split-complementary
#2E64CA #CA462E #B2CA2E
monochromatic
#173366 #234B98 #2E64CA #5B87DA #8DACE5

Accessibility & contrast

On white

5.54
#2E64CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#2E64CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E64CA
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E64CA#FFFFFF#000000##FFFFFF
##2E64CA1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2470CE
Deuteranopia (green-blind)
#0062C8
Tritanopia (blue-blind)
#007D8D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2e64ca;
/* rgb */ color: rgb(46, 100, 202);
/* oklch */ color: oklch(52.5% 0.169 261.6);
Tailwind
colors: {
  custom: {
    50: '#7e8fdb',
    500: '#2e64ca',
    950: '#000000',
  },
}
SCSS
$custom: #2e64ca;
$custom-light: #7e8fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#2e64ca",
  "rgb": {
    "r": 46,
    "g": 100,
    "b": 202
  },
  "hsl": {
    "h": 219.231,
    "s": 62.903,
    "l": 48.627
  },
  "oklch": {
    "l": 0.525,
    "c": 0.169,
    "h": 261.6
  },
  "luminance": 0.13959
}

Semantic roles & 50–950 ramp

primary
#2E64CA
secondary
#CFB584
accent
#AD42E6
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0B0C15
muted
#7C7D83

Preview Lab

Preview with #2E64CA

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

Preview Lab → · Contrast checker → · Palette generator →

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