#2C64AB#2C64AB

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

Color values

HEX#2C64AB
RGBrgb(44, 100, 171)
HSLhsl(214, 59%, 42%)
HSVhsv(214, 74%, 67%)
CMYKcmyk(74.3%, 41.5%, 0%, 32.9%)
CIE-LABlab(42.14, 6.65, -43.32)
CIE-LCHlch(42.14, 43.83, 278.73°)
OKLaboklab(50.28% -0.0314 -0.1238)
OKLCHoklch(50.28% 0.128 255.8)
XYZxyz(12.9439, 12.5886, 40.2679)
Luminance0.1259 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C64AB #AB732C
analogous
#2CA4AB #2C64AB #332CAB
triadic
#2C64AB #AB2C64 #64AB2C
tetradic
#2C64AB #AB2CA4 #AB732C #2CAB33
square
#2C64AB #AB2CA4 #AB732C #2CAB33
split-complementary
#2C64AB #AB332C #A4AB2C
monochromatic
#132B4A #1F487A #2C64AB #4582CF #76A3DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C64AB#FFFFFF#000000##FFFFFF
##2C64AB1.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)
#426AAE
Deuteranopia (green-blind)
#2D5EAA
Tritanopia (blue-blind)
#00757F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2c64ab;
/* rgb */ color: rgb(44, 100, 171);
/* oklch */ color: oklch(50.3% 0.128 255.8);
Tailwind
colors: {
  custom: {
    50: '#768fc4',
    500: '#2c64ab',
    950: '#000000',
  },
}
SCSS
$custom: #2c64ab;
$custom-light: #768fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c64ab",
  "rgb": {
    "r": 44,
    "g": 100,
    "b": 171
  },
  "hsl": {
    "h": 213.543,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50281,
    "c": 0.12768,
    "h": 255.8
  },
  "luminance": 0.1259
}

Semantic roles & 50–950 ramp

primary
#2C64AB
secondary
#C39E6F
accent
#9D46E2
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2C64AB

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

Preview Lab → · Contrast checker → · Palette generator →

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