#2A64D0#2A64D0

#2A64D0 is a mid, vivid blue. Relative luminance 0.142; OKLCH L 52.8% C 0.178 H 261.4°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#2A64D0
RGBrgb(42, 100, 208)
HSLhsl(219, 66%, 49%)
HSVhsv(219, 80%, 82%)
CMYKcmyk(79.8%, 51.9%, 0%, 18.4%)
CIE-LABlab(44.46, 20.52, -61.09)
CIE-LCHlch(44.46, 64.44, 288.57°)
OKLaboklab(52.82% -0.0266 -0.176)
OKLCHoklch(52.82% 0.178 261.4)
XYZxyz(16.8931, 14.1586, 61.5048)
Luminance0.1416 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A64D0 #D0962A
analogous
#2AB7D0 #2A64D0 #432AD0
triadic
#2A64D0 #D02A64 #64D02A
tetradic
#2A64D0 #D02AB7 #D0962A #2AD043
square
#2A64D0 #D02AB7 #D0962A #2AD043
split-complementary
#2A64D0 #D0432A #B7D02A
monochromatic
#15336A #204C9D #2A64D0 #5A88DE #8DACE8

Accessibility & contrast

On white

5.48
#2A64D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#2A64D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A64D0
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A64D0#FFFFFF#000000##FFFFFF
##2A64D01.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1771D4
Deuteranopia (green-blind)
#0062CE
Tritanopia (blue-blind)
#007E90
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2a64d0;
/* rgb */ color: rgb(42, 100, 208);
/* oklch */ color: oklch(52.8% 0.178 261.4);
Tailwind
colors: {
  custom: {
    50: '#7e8fdf',
    500: '#2a64d0',
    950: '#000000',
  },
}
SCSS
$custom: #2a64d0;
$custom-light: #7e8fdf;
$custom-dark: #000000;
JSON
{
  "hex": "#2a64d0",
  "rgb": {
    "r": 42,
    "g": 100,
    "b": 208
  },
  "hsl": {
    "h": 219.036,
    "s": 66.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.52815,
    "c": 0.17803,
    "h": 261.4
  },
  "luminance": 0.14161
}

Semantic roles & 50–950 ramp

primary
#2A64D0
secondary
#D2B784
accent
#AE3EE9
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #2A64D0

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

Preview Lab → · Contrast checker → · Palette generator →

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