#2C64CD#2C64CD

#2C64CD is a mid, vivid blue. Relative luminance 0.141; OKLCH L 52.7% C 0.174 H 261.5°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#2C64CD
RGBrgb(44, 100, 205)
HSLhsl(219, 65%, 49%)
HSVhsv(219, 79%, 80%)
CMYKcmyk(78.5%, 51.2%, 0%, 19.6%)
CIE-LABlab(44.31, 19.58, -59.60)
CIE-LCHlch(44.31, 62.74, 288.19°)
OKLaboklab(52.65% -0.0256 -0.1716)
OKLCHoklch(52.65% 0.174 261.5)
XYZxyz(16.6113, 14.0556, 59.5833)
Luminance0.1406 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C64CD #CD952C
analogous
#2CB5CD #2C64CD #442CCD
triadic
#2C64CD #CD2C64 #64CD2C
tetradic
#2C64CD #CD2CB5 #CD952C #2CCD44
square
#2C64CD #CD2CB5 #CD952C #2CCD44
split-complementary
#2C64CD #CD442C #B5CD2C
monochromatic
#163368 #214B9B #2C64CD #5B87DC #8DACE7

Accessibility & contrast

On white

5.51
#2C64CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#2C64CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C64CD
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C64CD#FFFFFF#000000##FFFFFF
##2C64CD1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E71D1
Deuteranopia (green-blind)
#0062CB
Tritanopia (blue-blind)
#007D8F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2c64cd;
/* rgb */ color: rgb(44, 100, 205);
/* oklch */ color: oklch(52.7% 0.174 261.5);
Tailwind
colors: {
  custom: {
    50: '#7e8fdd',
    500: '#2c64cd',
    950: '#000000',
  },
}
SCSS
$custom: #2c64cd;
$custom-light: #7e8fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#2c64cd",
  "rgb": {
    "r": 44,
    "g": 100,
    "b": 205
  },
  "hsl": {
    "h": 219.13,
    "s": 64.659,
    "l": 48.824
  },
  "oklch": {
    "l": 0.52655,
    "c": 0.17353,
    "h": 261.5
  },
  "luminance": 0.14058
}

Semantic roles & 50–950 ramp

primary
#2C64CD
secondary
#D1B684
accent
#AD40E8
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0B0C15
muted
#7C7D83

Preview Lab

Preview with #2C64CD

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

Preview Lab → · Contrast checker → · Palette generator →

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