#2C64C1#2C64C1

#2C64C1 is a mid, vivid blue. Relative luminance 0.135; OKLCH L 51.8% C 0.157 H 260.0°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#2C64C1
RGBrgb(44, 100, 193)
HSLhsl(217, 63%, 46%)
HSVhsv(217, 77%, 76%)
CMYKcmyk(77.2%, 48.2%, 0%, 24.3%)
CIE-LABlab(43.50, 15.02, -53.98)
CIE-LCHlch(43.50, 56.03, 285.55°)
OKLaboklab(51.78% -0.0273 -0.1551)
OKLCHoklch(51.78% 0.157 260)
XYZxyz(15.2180, 13.4983, 52.2451)
Luminance0.1350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C64C1 #C1892C
analogous
#2CAFC1 #2C64C1 #3F2CC1
triadic
#2C64C1 #C12C64 #64C12C
tetradic
#2C64C1 #C12CAF #C1892C #2CC13F
square
#2C64C1 #C12CAF #C1892C #2CC13F
split-complementary
#2C64C1 #C13F2C #AFC12C
monochromatic
#15305D #214A8F #2C64C1 #5385D8 #84A8E3

Accessibility & contrast

On white

5.68
#2C64C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#2C64C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C64C1
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C64C1#FFFFFF#000000##FFFFFF
##2C64C11.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F6EC4
Deuteranopia (green-blind)
#0060BF
Tritanopia (blue-blind)
#007A89
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2c64c1;
/* rgb */ color: rgb(44, 100, 193);
/* oklch */ color: oklch(51.8% 0.157 260.0);
Tailwind
colors: {
  custom: {
    50: '#7b8fd4',
    500: '#2c64c1',
    950: '#000000',
  },
}
SCSS
$custom: #2c64c1;
$custom-light: #7b8fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c64c1",
  "rgb": {
    "r": 44,
    "g": 100,
    "b": 193
  },
  "hsl": {
    "h": 217.45,
    "s": 62.869,
    "l": 46.471
  },
  "oklch": {
    "l": 0.51779,
    "c": 0.15748,
    "h": 260
  },
  "luminance": 0.135
}

Semantic roles & 50–950 ramp

primary
#2C64C1
secondary
#CCAE7D
accent
#A842E6
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #2C64C1

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

Preview Lab → · Contrast checker → · Palette generator →

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