#2E64C9#2E64C9

#2E64C9 is a mid, vivid blue. Relative luminance 0.139; OKLCH L 52.4% C 0.168 H 261.5°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#2E64C9
RGBrgb(46, 100, 201)
HSLhsl(219, 63%, 48%)
HSVhsv(219, 77%, 79%)
CMYKcmyk(77.1%, 50.2%, 0%, 21.2%)
CIE-LABlab(44.10, 18.28, -57.63)
CIE-LCHlch(44.10, 60.46, 287.60°)
OKLaboklab(52.43% -0.0248 -0.1658)
OKLCHoklch(52.43% 0.168 261.5)
XYZxyz(16.2227, 13.9104, 57.0770)
Luminance0.1391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E64C9 #C9932E
analogous
#2EB1C9 #2E64C9 #462EC9
triadic
#2E64C9 #C92E64 #64C92E
tetradic
#2E64C9 #C92EB1 #C9932E #2EC946
square
#2E64C9 #C92EB1 #C9932E #2EC946
split-complementary
#2E64C9 #C9462E #B1C92E
monochromatic
#173265 #234B97 #2E64C9 #5B87D9 #8DABE5

Accessibility & contrast

On white

5.55
#2E64C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#2E64C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E64C9
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E64C9#FFFFFF#000000##FFFFFF
##2E64C91.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2570CD
Deuteranopia (green-blind)
#0062C7
Tritanopia (blue-blind)
#007C8D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2e64c9;
/* rgb */ color: rgb(46, 100, 201);
/* oklch */ color: oklch(52.4% 0.168 261.5);
Tailwind
colors: {
  custom: {
    50: '#7d8fda',
    500: '#2e64c9',
    950: '#000000',
  },
}
SCSS
$custom: #2e64c9;
$custom-light: #7d8fda;
$custom-dark: #000000;
JSON
{
  "hex": "#2e64c9",
  "rgb": {
    "r": 46,
    "g": 100,
    "b": 201
  },
  "hsl": {
    "h": 219.097,
    "s": 62.753,
    "l": 48.431
  },
  "oklch": {
    "l": 0.52427,
    "c": 0.16767,
    "h": 261.5
  },
  "luminance": 0.13912
}

Semantic roles & 50–950 ramp

primary
#2E64C9
secondary
#CFB584
accent
#AD42E6
background
#F8F8FD
surface
#EFF0FB
border
#CACBD4
text
#0B0C15
muted
#7C7D83

Preview Lab

Preview with #2E64C9

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

Preview Lab → · Contrast checker → · Palette generator →

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