#2C64A5#2C64A5

#2C64A5 is a mid, moderate cyan. Relative luminance 0.124; OKLCH L 49.9% C 0.120 H 254.1°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#2C64A5
RGBrgb(44, 100, 165)
HSLhsl(212, 58%, 41%)
HSVhsv(212, 73%, 65%)
CMYKcmyk(73.3%, 39.4%, 0%, 35.3%)
CIE-LABlab(41.79, 4.39, -40.33)
CIE-LCHlch(41.79, 40.57, 276.21°)
OKLaboklab(49.9% -0.0328 -0.115)
OKLCHoklch(49.9% 0.12 254.1)
XYZxyz(12.3849, 12.3651, 37.3240)
Luminance0.1237 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C64A5 #A56D2C
analogous
#2CA0A5 #2C64A5 #302CA5
triadic
#2C64A5 #A52C64 #64A52C
tetradic
#2C64A5 #A52CA0 #A56D2C #2CA530
square
#2C64A5 #A52CA0 #A56D2C #2CA530
split-complementary
#2C64A5 #A5302C #A0A52C
monochromatic
#122944 #1F4775 #2C64A5 #4282CD #72A2D9

Accessibility & contrast

On white

6.05
#2C64A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#2C64A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C64A5
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C64A5#FFFFFF#000000##FFFFFF
##2C64A51.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4669A8
Deuteranopia (green-blind)
#335DA4
Tritanopia (blue-blind)
#00737C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2c64a5;
/* rgb */ color: rgb(44, 100, 165);
/* oklch */ color: oklch(49.9% 0.120 254.1);
Tailwind
colors: {
  custom: {
    50: '#758fc0',
    500: '#2c64a5',
    950: '#000000',
  },
}
SCSS
$custom: #2c64a5;
$custom-light: #758fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c64a5",
  "rgb": {
    "r": 44,
    "g": 100,
    "b": 165
  },
  "hsl": {
    "h": 212.231,
    "s": 57.895,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49899,
    "c": 0.11957,
    "h": 254.1
  },
  "luminance": 0.12366
}

Semantic roles & 50–950 ramp

primary
#2C64A5
secondary
#C19A6C
accent
#9A47E1
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#090C12
muted
#7B7D81

Preview Lab

Preview with #2C64A5

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

Preview Lab → · Contrast checker → · Palette generator →

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