#2A64B7#2A64B7

#2A64B7 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.0% C 0.145 H 257.9°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#2A64B7
RGBrgb(42, 100, 183)
HSLhsl(215, 63%, 44%)
HSVhsv(215, 77%, 72%)
CMYKcmyk(77%, 45.4%, 0%, 28.2%)
CIE-LABlab(42.80, 10.97, -49.30)
CIE-LCHlch(42.80, 50.51, 282.54°)
OKLaboklab(51.01% -0.0302 -0.1414)
OKLCHoklch(51.01% 0.145 257.9)
XYZxyz(14.0561, 13.0239, 46.5636)
Luminance0.1303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A64B7 #B77D2A
analogous
#2AABB7 #2A64B7 #362AB7
triadic
#2A64B7 #B72A64 #64B72A
tetradic
#2A64B7 #B72AAB #B77D2A #2AB736
square
#2A64B7 #B72AAB #B77D2A #2AB736
split-complementary
#2A64B7 #B7362A #ABB72A
monochromatic
#132E53 #1F4985 #2A64B7 #4983D5 #7BA5E1

Accessibility & contrast

On white

5.83
#2A64B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#2A64B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A64B7
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A64B7#FFFFFF#000000##FFFFFF
##2A64B71.005.833.615.83
#FFFFFF5.831.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#396CBA
Deuteranopia (green-blind)
#1A5FB5
Tritanopia (blue-blind)
#007884
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2a64b7;
/* rgb */ color: rgb(42, 100, 183);
/* oklch */ color: oklch(51.0% 0.145 257.9);
Tailwind
colors: {
  custom: {
    50: '#788fcd',
    500: '#2a64b7',
    950: '#000000',
  },
}
SCSS
$custom: #2a64b7;
$custom-light: #788fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#2a64b7",
  "rgb": {
    "r": 42,
    "g": 100,
    "b": 183
  },
  "hsl": {
    "h": 215.319,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.51011,
    "c": 0.14456,
    "h": 257.9
  },
  "luminance": 0.13025
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A64B7

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

Preview Lab → · Contrast checker → · Palette generator →

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