#2C64C0#2C64C0

#2C64C0 is a mid, vivid blue. Relative luminance 0.135; OKLCH L 51.7% C 0.156 H 259.9°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#2C64C0
RGBrgb(44, 100, 192)
HSLhsl(217, 63%, 46%)
HSVhsv(217, 77%, 75%)
CMYKcmyk(77.1%, 47.9%, 0%, 24.7%)
CIE-LABlab(43.44, 14.64, -53.51)
CIE-LCHlch(43.44, 55.47, 285.30°)
OKLaboklab(51.71% -0.0274 -0.1537)
OKLCHoklch(51.71% 0.156 259.9)
XYZxyz(15.1068, 13.4538, 51.6596)
Luminance0.1346 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C64C0 #C0882C
analogous
#2CAEC0 #2C64C0 #3E2CC0
triadic
#2C64C0 #C02C64 #64C02C
tetradic
#2C64C0 #C02CAE #C0882C #2CC03E
square
#2C64C0 #C02CAE #C0882C #2CC03E
split-complementary
#2C64C0 #C03E2C #AEC02C
monochromatic
#15305C #214A8E #2C64C0 #5284D7 #84A8E3

Accessibility & contrast

On white

5.69
#2C64C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#2C64C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C64C0
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C64C0#FFFFFF#000000##FFFFFF
##2C64C01.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#306EC3
Deuteranopia (green-blind)
#0060BE
Tritanopia (blue-blind)
#007A89
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2c64c0;
/* rgb */ color: rgb(44, 100, 192);
/* oklch */ color: oklch(51.7% 0.156 259.9);
Tailwind
colors: {
  custom: {
    50: '#7b8fd4',
    500: '#2c64c0',
    950: '#000000',
  },
}
SCSS
$custom: #2c64c0;
$custom-light: #7b8fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c64c0",
  "rgb": {
    "r": 44,
    "g": 100,
    "b": 192
  },
  "hsl": {
    "h": 217.297,
    "s": 62.712,
    "l": 46.275
  },
  "oklch": {
    "l": 0.51707,
    "c": 0.15613,
    "h": 259.9
  },
  "luminance": 0.13456
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C64C0

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

Preview Lab → · Contrast checker → · Palette generator →

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