#2A64D3#2A64D3

#2A64D3 is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.0% C 0.182 H 261.7°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#2A64D3
RGBrgb(42, 100, 211)
HSLhsl(219, 67%, 50%)
HSVhsv(219, 80%, 83%)
CMYKcmyk(80.1%, 52.6%, 0%, 17.3%)
CIE-LABlab(44.67, 21.66, -62.46)
CIE-LCHlch(44.67, 66.11, 289.12°)
OKLaboklab(53.04% -0.0262 -0.1801)
OKLCHoklch(53.04% 0.182 261.7)
XYZxyz(17.2656, 14.3077, 63.4671)
Luminance0.1431 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A64D3 #D3992A
analogous
#2AB9D3 #2A64D3 #442AD3
triadic
#2A64D3 #D32A64 #64D32A
tetradic
#2A64D3 #D32AB9 #D3992A #2AD344
square
#2A64D3 #D32AB9 #D3992A #2AD344
split-complementary
#2A64D3 #D3442A #B9D32A
monochromatic
#16346D #204CA0 #2A64D3 #5C89DE #8FAEE9

Accessibility & contrast

On white

5.44
#2A64D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#2A64D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A64D3
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A64D3#FFFFFF#000000##FFFFFF
##2A64D31.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a64d3;
/* rgb */ color: rgb(42, 100, 211);
/* oklch */ color: oklch(53.0% 0.182 261.7);
Tailwind
colors: {
  custom: {
    50: '#7e8fe1',
    500: '#2a64d3',
    950: '#000000',
  },
}
SCSS
$custom: #2a64d3;
$custom-light: #7e8fe1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a64d3",
  "rgb": {
    "r": 42,
    "g": 100,
    "b": 211
  },
  "hsl": {
    "h": 219.408,
    "s": 66.798,
    "l": 49.608
  },
  "oklch": {
    "l": 0.53043,
    "c": 0.18198,
    "h": 261.7
  },
  "luminance": 0.1431
}

Semantic roles & 50–950 ramp

primary
#2A64D3
secondary
#D3B986
accent
#AF3EEA
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #2A64D3

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

Preview Lab → · Contrast checker → · Palette generator →

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