#2C64BB#2C64BB

#2C64BB is a mid, vivid blue. Relative luminance 0.132; OKLCH L 51.4% C 0.149 H 259.1°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#2C64BB
RGBrgb(44, 100, 187)
HSLhsl(217, 62%, 45%)
HSVhsv(217, 76%, 73%)
CMYKcmyk(76.5%, 46.5%, 0%, 26.7%)
CIE-LABlab(43.12, 12.73, -51.12)
CIE-LCHlch(43.12, 52.68, 283.99°)
OKLaboklab(51.36% -0.0282 -0.1467)
OKLCHoklch(51.36% 0.149 259.1)
XYZxyz(14.5622, 13.2360, 48.7914)
Luminance0.1324 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C64BB #BB832C
analogous
#2CACBB #2C64BB #3B2CBB
triadic
#2C64BB #BB2C64 #64BB2C
tetradic
#2C64BB #BB2CAC #BB832C #2CBB3B
square
#2C64BB #BB2CAC #BB832C #2CBB3B
split-complementary
#2C64BB #BB3B2C #ACBB2C
monochromatic
#152F58 #204A89 #2C64BB #4F83D6 #80A6E1

Accessibility & contrast

On white

5.76
#2C64BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#2C64BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C64BB
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C64BB#FFFFFF#000000##FFFFFF
##2C64BB1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#356DBE
Deuteranopia (green-blind)
#1160B9
Tritanopia (blue-blind)
#007986
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2c64bb;
/* rgb */ color: rgb(44, 100, 187);
/* oklch */ color: oklch(51.4% 0.149 259.1);
Tailwind
colors: {
  custom: {
    50: '#7a8fd0',
    500: '#2c64bb',
    950: '#000000',
  },
}
SCSS
$custom: #2c64bb;
$custom-light: #7a8fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c64bb",
  "rgb": {
    "r": 44,
    "g": 100,
    "b": 187
  },
  "hsl": {
    "h": 216.503,
    "s": 61.905,
    "l": 45.294
  },
  "oklch": {
    "l": 0.51356,
    "c": 0.14937,
    "h": 259.1
  },
  "luminance": 0.13238
}

Semantic roles & 50–950 ramp

primary
#2C64BB
secondary
#CAAA79
accent
#A543E5
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #2C64BB

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

Preview Lab → · Contrast checker → · Palette generator →

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