#2A64B5#2A64B5

#2A64B5 is a mid, vivid cyan. Relative luminance 0.129; OKLCH L 50.9% C 0.142 H 257.5°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#2A64B5
RGBrgb(42, 100, 181)
HSLhsl(215, 62%, 44%)
HSVhsv(215, 77%, 71%)
CMYKcmyk(76.8%, 44.8%, 0%, 29%)
CIE-LABlab(42.67, 10.20, -48.33)
CIE-LCHlch(42.67, 49.40, 281.92°)
OKLaboklab(50.88% -0.0306 -0.1385)
OKLCHoklch(50.88% 0.142 257.5)
XYZxyz(13.8494, 12.9412, 45.4751)
Luminance0.1294 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A64B5 #B57B2A
analogous
#2AA9B5 #2A64B5 #352AB5
triadic
#2A64B5 #B52A64 #64B52A
tetradic
#2A64B5 #B52AA9 #B57B2A #2AB535
square
#2A64B5 #B52AA9 #B57B2A #2AB535
split-complementary
#2A64B5 #B5352A #A9B52A
monochromatic
#132D52 #1E4983 #2A64B5 #4882D4 #79A4E0

Accessibility & contrast

On white

5.85
#2A64B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#2A64B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A64B5
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A64B5#FFFFFF#000000##FFFFFF
##2A64B51.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A6CB8
Deuteranopia (green-blind)
#1E5FB3
Tritanopia (blue-blind)
#007783
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2a64b5;
/* rgb */ color: rgb(42, 100, 181);
/* oklch */ color: oklch(50.9% 0.142 257.5);
Tailwind
colors: {
  custom: {
    50: '#788fcc',
    500: '#2a64b5',
    950: '#000000',
  },
}
SCSS
$custom: #2a64b5;
$custom-light: #788fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#2a64b5",
  "rgb": {
    "r": 42,
    "g": 100,
    "b": 181
  },
  "hsl": {
    "h": 214.964,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.50875,
    "c": 0.14185,
    "h": 257.5
  },
  "luminance": 0.12943
}

Semantic roles & 50–950 ramp

primary
#2A64B5
secondary
#C8A473
accent
#A142E5
background
#F7F8FC
surface
#EEF0F9
border
#C9CBD2
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2A64B5

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

Preview Lab → · Contrast checker → · Palette generator →

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