#2A64B6#2A64B6

#2A64B6 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 50.9% C 0.143 H 257.7°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#2A64B6
RGBrgb(42, 100, 182)
HSLhsl(215, 63%, 44%)
HSVhsv(215, 77%, 71%)
CMYKcmyk(76.9%, 45.1%, 0%, 28.6%)
CIE-LABlab(42.74, 10.58, -48.82)
CIE-LCHlch(42.74, 49.95, 282.23°)
OKLaboklab(50.94% -0.0304 -0.1399)
OKLCHoklch(50.94% 0.143 257.7)
XYZxyz(13.9524, 12.9824, 46.0174)
Luminance0.1298 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A64B6 #B67C2A
analogous
#2AAAB6 #2A64B6 #362AB6
triadic
#2A64B6 #B62A64 #64B62A
tetradic
#2A64B6 #B62AAA #B67C2A #2AB636
square
#2A64B6 #B62AAA #B67C2A #2AB636
split-complementary
#2A64B6 #B6362A #AAB62A
monochromatic
#132D53 #1F4984 #2A64B6 #4883D5 #7AA4E0

Accessibility & contrast

On white

5.84
#2A64B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#2A64B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A64B6
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A64B6#FFFFFF#000000##FFFFFF
##2A64B61.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A6CB9
Deuteranopia (green-blind)
#1C5FB4
Tritanopia (blue-blind)
#007784
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2a64b6;
/* rgb */ color: rgb(42, 100, 182);
/* oklch */ color: oklch(50.9% 0.143 257.7);
Tailwind
colors: {
  custom: {
    50: '#788fcc',
    500: '#2a64b6',
    950: '#000000',
  },
}
SCSS
$custom: #2a64b6;
$custom-light: #788fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#2a64b6",
  "rgb": {
    "r": 42,
    "g": 100,
    "b": 182
  },
  "hsl": {
    "h": 215.143,
    "s": 62.5,
    "l": 43.922
  },
  "oklch": {
    "l": 0.50943,
    "c": 0.14321,
    "h": 257.7
  },
  "luminance": 0.12984
}

Semantic roles & 50–950 ramp

primary
#2A64B6
secondary
#C8A573
accent
#A242E6
background
#F7F8FC
surface
#EEF0F9
border
#C9CBD2
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2A64B6

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

Preview Lab → · Contrast checker → · Palette generator →

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