#2C64C9#2C64C9

#2C64C9 is a mid, vivid blue. Relative luminance 0.139; OKLCH L 52.4% C 0.168 H 261.1°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#2C64C9
RGBrgb(44, 100, 201)
HSLhsl(219, 64%, 48%)
HSVhsv(219, 78%, 79%)
CMYKcmyk(78.1%, 50.2%, 0%, 21.2%)
CIE-LABlab(44.04, 18.06, -57.74)
CIE-LCHlch(44.04, 60.50, 287.37°)
OKLaboklab(52.36% -0.0261 -0.1662)
OKLCHoklch(52.36% 0.168 261.1)
XYZxyz(16.1347, 13.8650, 57.0729)
Luminance0.1387 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C64C9 #C9912C
analogous
#2CB2C9 #2C64C9 #432CC9
triadic
#2C64C9 #C92C64 #64C92C
tetradic
#2C64C9 #C92CB2 #C9912C #2CC943
square
#2C64C9 #C92CB2 #C9912C #2CC943
split-complementary
#2C64C9 #C9432C #B2C92C
monochromatic
#163265 #214B97 #2C64C9 #5886DA #8AABE5

Accessibility & contrast

On white

5.57
#2C64C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#2C64C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C64C9
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C64C9#FFFFFF#000000##FFFFFF
##2C64C91.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2570CD
Deuteranopia (green-blind)
#0061C7
Tritanopia (blue-blind)
#007C8D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2c64c9;
/* rgb */ color: rgb(44, 100, 201);
/* oklch */ color: oklch(52.4% 0.168 261.1);
Tailwind
colors: {
  custom: {
    50: '#7d8fda',
    500: '#2c64c9',
    950: '#000000',
  },
}
SCSS
$custom: #2c64c9;
$custom-light: #7d8fda;
$custom-dark: #000000;
JSON
{
  "hex": "#2c64c9",
  "rgb": {
    "r": 44,
    "g": 100,
    "b": 201
  },
  "hsl": {
    "h": 218.599,
    "s": 64.082,
    "l": 48.039
  },
  "oklch": {
    "l": 0.52358,
    "c": 0.16821,
    "h": 261.1
  },
  "luminance": 0.13867
}

Semantic roles & 50–950 ramp

primary
#2C64C9
secondary
#CFB482
accent
#AC41E7
background
#F8F8FD
surface
#EFF0FB
border
#CACBD4
text
#0B0C15
muted
#7C7D83

Preview Lab

Preview with #2C64C9

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

Preview Lab → · Contrast checker → · Palette generator →

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