#2C64A6#2C64A6

#2C64A6 is a mid, vivid cyan. Relative luminance 0.124; OKLCH L 50.0% C 0.121 H 254.4°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#2C64A6
RGBrgb(44, 100, 166)
HSLhsl(212, 58%, 41%)
HSVhsv(212, 73%, 65%)
CMYKcmyk(73.5%, 39.8%, 0%, 34.9%)
CIE-LABlab(41.85, 4.77, -40.83)
CIE-LCHlch(41.85, 41.11, 276.66°)
OKLaboklab(49.96% -0.0325 -0.1164)
OKLCHoklch(49.96% 0.121 254.4)
XYZxyz(12.4763, 12.4016, 37.8052)
Luminance0.1240 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C64A6 #A66E2C
analogous
#2CA1A6 #2C64A6 #312CA6
triadic
#2C64A6 #A62C64 #64A62C
tetradic
#2C64A6 #A62CA1 #A66E2C #2CA631
square
#2C64A6 #A62CA1 #A66E2C #2CA631
split-complementary
#2C64A6 #A6312C #A1A62C
monochromatic
#122A45 #1F4776 #2C64A6 #4282CD #73A2DA

Accessibility & contrast

On white

6.03
#2C64A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#2C64A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C64A6
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C64A6#FFFFFF#000000##FFFFFF
##2C64A61.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4569A9
Deuteranopia (green-blind)
#325EA5
Tritanopia (blue-blind)
#00737D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2c64a6;
/* rgb */ color: rgb(44, 100, 166);
/* oklch */ color: oklch(50.0% 0.121 254.4);
Tailwind
colors: {
  custom: {
    50: '#758fc1',
    500: '#2c64a6',
    950: '#000000',
  },
}
SCSS
$custom: #2c64a6;
$custom-light: #758fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#2c64a6",
  "rgb": {
    "r": 44,
    "g": 100,
    "b": 166
  },
  "hsl": {
    "h": 212.459,
    "s": 58.095,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49962,
    "c": 0.12091,
    "h": 254.4
  },
  "luminance": 0.12403
}

Semantic roles & 50–950 ramp

primary
#2C64A6
secondary
#C19A6D
accent
#9A46E1
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#090C12
muted
#7B7D81

Preview Lab

Preview with #2C64A6

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

Preview Lab → · Contrast checker → · Palette generator →

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