#2A64B4#2A64B4

#2A64B4 is a mid, vivid cyan. Relative luminance 0.129; OKLCH L 50.8% C 0.141 H 257.3°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#2A64B4
RGBrgb(42, 100, 180)
HSLhsl(215, 62%, 44%)
HSVhsv(215, 77%, 71%)
CMYKcmyk(76.7%, 44.4%, 0%, 29.4%)
CIE-LABlab(42.61, 9.82, -47.85)
CIE-LCHlch(42.61, 48.85, 281.60°)
OKLaboklab(50.81% -0.0308 -0.1371)
OKLCHoklch(50.81% 0.141 257.3)
XYZxyz(13.7472, 12.9003, 44.9366)
Luminance0.1290 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A64B4 #B47A2A
analogous
#2AA9B4 #2A64B4 #352AB4
triadic
#2A64B4 #B42A64 #64B42A
tetradic
#2A64B4 #B42AA9 #B47A2A #2AB435
square
#2A64B4 #B42AA9 #B47A2A #2AB435
split-complementary
#2A64B4 #B4352A #A9B42A
monochromatic
#132D51 #1E4882 #2A64B4 #4782D4 #79A4E0

Accessibility & contrast

On white

5.87
#2A64B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#2A64B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A64B4
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A64B4#FFFFFF#000000##FFFFFF
##2A64B41.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B6BB7
Deuteranopia (green-blind)
#205FB2
Tritanopia (blue-blind)
#007783
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2a64b4;
/* rgb */ color: rgb(42, 100, 180);
/* oklch */ color: oklch(50.8% 0.141 257.3);
Tailwind
colors: {
  custom: {
    50: '#778fcb',
    500: '#2a64b4',
    950: '#000000',
  },
}
SCSS
$custom: #2a64b4;
$custom-light: #778fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#2a64b4",
  "rgb": {
    "r": 42,
    "g": 100,
    "b": 180
  },
  "hsl": {
    "h": 214.783,
    "s": 62.162,
    "l": 43.529
  },
  "oklch": {
    "l": 0.50807,
    "c": 0.1405,
    "h": 257.3
  },
  "luminance": 0.12902
}

Semantic roles & 50–950 ramp

primary
#2A64B4
secondary
#C8A472
accent
#A143E5
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2A64B4

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

Preview Lab → · Contrast checker → · Palette generator →

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