#2A64C7#2A64C7

#2A64C7 is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.1% C 0.166 H 260.4°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#2A64C7
RGBrgb(42, 100, 199)
HSLhsl(218, 65%, 47%)
HSVhsv(218, 79%, 78%)
CMYKcmyk(78.9%, 49.7%, 0%, 22%)
CIE-LABlab(43.84, 17.09, -56.91)
CIE-LCHlch(43.84, 59.42, 286.71°)
OKLaboklab(52.15% -0.0277 -0.1637)
OKLCHoklch(52.15% 0.166 260.4)
XYZxyz(15.8171, 13.7282, 55.8379)
Luminance0.1373 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A64C7 #C78D2A
analogous
#2AB3C7 #2A64C7 #3E2AC7
triadic
#2A64C7 #C72A64 #64C72A
tetradic
#2A64C7 #C72AB3 #C78D2A #2AC73E
square
#2A64C7 #C72AB3 #C78D2A #2AC73E
split-complementary
#2A64C7 #C73E2A #B3C72A
monochromatic
#153162 #1F4B94 #2A64C7 #5385DB #86A9E5

Accessibility & contrast

On white

5.61
#2A64C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#2A64C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A64C7
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A64C7#FFFFFF#000000##FFFFFF
##2A64C71.005.613.755.61
#FFFFFF5.611.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#276FCB
Deuteranopia (green-blind)
#0061C5
Tritanopia (blue-blind)
#007C8C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2a64c7;
/* rgb */ color: rgb(42, 100, 199);
/* oklch */ color: oklch(52.1% 0.166 260.4);
Tailwind
colors: {
  custom: {
    50: '#7c8fd9',
    500: '#2a64c7',
    950: '#000000',
  },
}
SCSS
$custom: #2a64c7;
$custom-light: #7c8fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a64c7",
  "rgb": {
    "r": 42,
    "g": 100,
    "b": 199
  },
  "hsl": {
    "h": 217.834,
    "s": 65.145,
    "l": 47.255
  },
  "oklch": {
    "l": 0.52146,
    "c": 0.16607,
    "h": 260.4
  },
  "luminance": 0.1373
}

Semantic roles & 50–950 ramp

primary
#2A64C7
secondary
#CFB17E
accent
#AA40E8
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C15
muted
#7C7D83

Preview Lab

Preview with #2A64C7

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

Preview Lab → · Contrast checker → · Palette generator →

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