#2A64CA#2A64CA

#2A64CA is a mid, vivid blue. Relative luminance 0.139; OKLCH L 52.4% C 0.170 H 260.8°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#2A64CA
RGBrgb(42, 100, 202)
HSLhsl(218, 66%, 48%)
HSVhsv(218, 79%, 79%)
CMYKcmyk(79.2%, 50.5%, 0%, 20.8%)
CIE-LABlab(44.04, 18.23, -58.31)
CIE-LCHlch(44.04, 61.10, 287.36°)
OKLaboklab(52.37% -0.0273 -0.1679)
OKLCHoklch(52.37% 0.17 260.8)
XYZxyz(16.1688, 13.8689, 57.6905)
Luminance0.1387 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A64CA #CA902A
analogous
#2AB4CA #2A64CA #402ACA
triadic
#2A64CA #CA2A64 #64CA2A
tetradic
#2A64CA #CA2AB4 #CA902A #2ACA40
square
#2A64CA #CA2AB4 #CA902A #2ACA40
split-complementary
#2A64CA #CA402A #B4CA2A
monochromatic
#153265 #1F4B97 #2A64CA #5586DC #88AAE6

Accessibility & contrast

On white

5.56
#2A64CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#2A64CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A64CA
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A64CA#FFFFFF#000000##FFFFFF
##2A64CA1.005.563.775.56
#FFFFFF5.561.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2370CE
Deuteranopia (green-blind)
#0061C8
Tritanopia (blue-blind)
#007D8D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2a64ca;
/* rgb */ color: rgb(42, 100, 202);
/* oklch */ color: oklch(52.4% 0.170 260.8);
Tailwind
colors: {
  custom: {
    50: '#7c8fdb',
    500: '#2a64ca',
    950: '#000000',
  },
}
SCSS
$custom: #2a64ca;
$custom-light: #7c8fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#2a64ca",
  "rgb": {
    "r": 42,
    "g": 100,
    "b": 202
  },
  "hsl": {
    "h": 218.25,
    "s": 65.574,
    "l": 47.843
  },
  "oklch": {
    "l": 0.52367,
    "c": 0.17007,
    "h": 260.8
  },
  "luminance": 0.13871
}

Semantic roles & 50–950 ramp

primary
#2A64CA
secondary
#D0B380
accent
#AB3FE9
background
#F8F8FD
surface
#EFF0FB
border
#CACBD4
text
#0B0C15
muted
#7C7D83

Preview Lab

Preview with #2A64CA

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

Preview Lab → · Contrast checker → · Palette generator →

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