#2A64BC#2A64BC

#2A64BC is a mid, vivid blue. Relative luminance 0.132; OKLCH L 51.4% C 0.151 H 258.8°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#2A64BC
RGBrgb(42, 100, 188)
HSLhsl(216, 63%, 45%)
HSVhsv(216, 78%, 74%)
CMYKcmyk(77.7%, 46.8%, 0%, 26.3%)
CIE-LABlab(43.12, 12.88, -51.71)
CIE-LCHlch(43.12, 53.29, 283.99°)
OKLaboklab(51.36% -0.0294 -0.1484)
OKLCHoklch(51.36% 0.151 258.8)
XYZxyz(14.5858, 13.2357, 49.3532)
Luminance0.1324 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A64BC #BC822A
analogous
#2AADBC #2A64BC #392ABC
triadic
#2A64BC #BC2A64 #64BC2A
tetradic
#2A64BC #BC2AAD #BC822A #2ABC39
square
#2A64BC #BC2AAD #BC822A #2ABC39
split-complementary
#2A64BC #BC392A #ADBC2A
monochromatic
#142F58 #1F498A #2A64BC #4C83D7 #7EA6E2

Accessibility & contrast

On white

5.76
#2A64BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#2A64BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A64BC
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A64BC#FFFFFF#000000##FFFFFF
##2A64BC1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#346DBF
Deuteranopia (green-blind)
#0C60BA
Tritanopia (blue-blind)
#007987
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2a64bc;
/* rgb */ color: rgb(42, 100, 188);
/* oklch */ color: oklch(51.4% 0.151 258.8);
Tailwind
colors: {
  custom: {
    50: '#798fd1',
    500: '#2a64bc',
    950: '#000000',
  },
}
SCSS
$custom: #2a64bc;
$custom-light: #798fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a64bc",
  "rgb": {
    "r": 42,
    "g": 100,
    "b": 188
  },
  "hsl": {
    "h": 216.164,
    "s": 63.478,
    "l": 45.098
  },
  "oklch": {
    "l": 0.51358,
    "c": 0.15131,
    "h": 258.8
  },
  "luminance": 0.13237
}

Semantic roles & 50–950 ramp

primary
#2A64BC
secondary
#CBA977
accent
#A541E7
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #2A64BC

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

Preview Lab → · Contrast checker → · Palette generator →

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