#2A64AB#2A64AB

#2A64AB is a mid, vivid cyan. Relative luminance 0.125; OKLCH L 50.2% C 0.128 H 255.2°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#2A64AB
RGBrgb(42, 100, 171)
HSLhsl(213, 61%, 42%)
HSVhsv(213, 75%, 67%)
CMYKcmyk(75.4%, 41.5%, 0%, 32.9%)
CIE-LABlab(42.07, 6.38, -43.43)
CIE-LCHlch(42.07, 43.90, 278.36°)
OKLaboklab(50.21% -0.0327 -0.1241)
OKLCHoklch(50.21% 0.128 255.2)
XYZxyz(12.8600, 12.5454, 40.2639)
Luminance0.1255 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A64AB #AB712A
analogous
#2AA5AB #2A64AB #312AAB
triadic
#2A64AB #AB2A64 #64AB2A
tetradic
#2A64AB #AB2AA5 #AB712A #2AAB31
square
#2A64AB #AB2AA5 #AB712A #2AAB31
split-complementary
#2A64AB #AB312A #A5AB2A
monochromatic
#122B49 #1E477A #2A64AB #4282D1 #73A2DD

Accessibility & contrast

On white

5.98
#2A64AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#2A64AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A64AB
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A64AB#FFFFFF#000000##FFFFFF
##2A64AB1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#426AAE
Deuteranopia (green-blind)
#2C5EAA
Tritanopia (blue-blind)
#00757F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2a64ab;
/* rgb */ color: rgb(42, 100, 171);
/* oklch */ color: oklch(50.2% 0.128 255.2);
Tailwind
colors: {
  custom: {
    50: '#758fc4',
    500: '#2a64ab',
    950: '#000000',
  },
}
SCSS
$custom: #2a64ab;
$custom-light: #758fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a64ab",
  "rgb": {
    "r": 42,
    "g": 100,
    "b": 171
  },
  "hsl": {
    "h": 213.023,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50211,
    "c": 0.12835,
    "h": 255.2
  },
  "luminance": 0.12547
}

Semantic roles & 50–950 ramp

primary
#2A64AB
secondary
#C49D6D
accent
#9C44E4
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2A64AB

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

Preview Lab → · Contrast checker → · Palette generator →

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