#2A64AC#2A64AC

#2A64AC is a mid, vivid cyan. Relative luminance 0.126; OKLCH L 50.3% C 0.130 H 255.5°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#2A64AC
RGBrgb(42, 100, 172)
HSLhsl(213, 61%, 42%)
HSVhsv(213, 76%, 67%)
CMYKcmyk(75.6%, 41.9%, 0%, 32.5%)
CIE-LABlab(42.13, 6.77, -43.93)
CIE-LCHlch(42.13, 44.45, 278.76°)
OKLaboklab(50.28% -0.0325 -0.1256)
OKLCHoklch(50.28% 0.13 255.5)
XYZxyz(12.9557, 12.5837, 40.7678)
Luminance0.1258 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A64AC #AC722A
analogous
#2AA5AC #2A64AC #312AAC
triadic
#2A64AC #AC2A64 #64AC2A
tetradic
#2A64AC #AC2AA5 #AC722A #2AAC31
square
#2A64AC #AC2AA5 #AC722A #2AAC31
split-complementary
#2A64AC #AC312A #A5AC2A
monochromatic
#122B4A #1E477B #2A64AC #4282D1 #73A3DD

Accessibility & contrast

On white

5.97
#2A64AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#2A64AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A64AC
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A64AC#FFFFFF#000000##FFFFFF
##2A64AC1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#416AAF
Deuteranopia (green-blind)
#2B5EAB
Tritanopia (blue-blind)
#00757F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2a64ac;
/* rgb */ color: rgb(42, 100, 172);
/* oklch */ color: oklch(50.3% 0.130 255.5);
Tailwind
colors: {
  custom: {
    50: '#768fc5',
    500: '#2a64ac',
    950: '#000000',
  },
}
SCSS
$custom: #2a64ac;
$custom-light: #768fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#2a64ac",
  "rgb": {
    "r": 42,
    "g": 100,
    "b": 172
  },
  "hsl": {
    "h": 213.231,
    "s": 60.748,
    "l": 41.961
  },
  "oklch": {
    "l": 0.50276,
    "c": 0.12969,
    "h": 255.5
  },
  "luminance": 0.12585
}

Semantic roles & 50–950 ramp

primary
#2A64AC
secondary
#C49E6D
accent
#9D44E4
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2A64AC

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

Preview Lab → · Contrast checker → · Palette generator →

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