#2A64AD#2A64AD

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

Color values

HEX#2A64AD
RGBrgb(42, 100, 173)
HSLhsl(213, 61%, 42%)
HSVhsv(213, 76%, 68%)
CMYKcmyk(75.7%, 42.2%, 0%, 32.2%)
CIE-LABlab(42.19, 7.15, -44.42)
CIE-LCHlch(42.19, 44.99, 279.14°)
OKLaboklab(50.34% -0.0323 -0.127)
OKLCHoklch(50.34% 0.131 255.7)
XYZxyz(13.0521, 12.6222, 41.2755)
Luminance0.1262 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A64AD #AD732A
analogous
#2AA6AD #2A64AD #322AAD
triadic
#2A64AD #AD2A64 #64AD2A
tetradic
#2A64AD #AD2AA6 #AD732A #2AAD32
square
#2A64AD #AD2AA6 #AD732A #2AAD32
split-complementary
#2A64AD #AD322A #A6AD2A
monochromatic
#122B4B #1E487C #2A64AD #4382D1 #74A3DD

Accessibility & contrast

On white

5.96
#2A64AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2A64AD
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A64AD#FFFFFF#000000##FFFFFF
##2A64AD1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#406AB0
Deuteranopia (green-blind)
#2A5EAC
Tritanopia (blue-blind)
#007580
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2a64ad;
/* rgb */ color: rgb(42, 100, 173);
/* oklch */ color: oklch(50.3% 0.131 255.7);
Tailwind
colors: {
  custom: {
    50: '#768fc6',
    500: '#2a64ad',
    950: '#000000',
  },
}
SCSS
$custom: #2a64ad;
$custom-light: #768fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#2a64ad",
  "rgb": {
    "r": 42,
    "g": 100,
    "b": 173
  },
  "hsl": {
    "h": 213.435,
    "s": 60.93,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50341,
    "c": 0.13104,
    "h": 255.7
  },
  "luminance": 0.12624
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A64AD

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

Preview Lab → · Contrast checker → · Palette generator →

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