#2C64BE#2C64BE

#2C64BE is a mid, vivid blue. Relative luminance 0.134; OKLCH L 51.6% C 0.153 H 259.6°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#2C64BE
RGBrgb(44, 100, 190)
HSLhsl(217, 62%, 46%)
HSVhsv(217, 77%, 75%)
CMYKcmyk(76.8%, 47.4%, 0%, 25.5%)
CIE-LABlab(43.31, 13.88, -52.56)
CIE-LCHlch(43.31, 54.36, 284.79°)
OKLaboklab(51.57% -0.0277 -0.1509)
OKLCHoklch(51.57% 0.153 259.6)
XYZxyz(14.8868, 13.3658, 50.5005)
Luminance0.1337 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C64BE #BE862C
analogous
#2CADBE #2C64BE #3D2CBE
triadic
#2C64BE #BE2C64 #64BE2C
tetradic
#2C64BE #BE2CAD #BE862C #2CBE3D
square
#2C64BE #BE2CAD #BE862C #2CBE3D
split-complementary
#2C64BE #BE3D2C #ADBE2C
monochromatic
#15305B #204A8C #2C64BE #5184D7 #82A7E2

Accessibility & contrast

On white

5.72
#2C64BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#2C64BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C64BE
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C64BE#FFFFFF#000000##FFFFFF
##2C64BE1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#326DC1
Deuteranopia (green-blind)
#0560BC
Tritanopia (blue-blind)
#007988
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2c64be;
/* rgb */ color: rgb(44, 100, 190);
/* oklch */ color: oklch(51.6% 0.153 259.6);
Tailwind
colors: {
  custom: {
    50: '#7a8fd2',
    500: '#2c64be',
    950: '#000000',
  },
}
SCSS
$custom: #2c64be;
$custom-light: #7a8fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c64be",
  "rgb": {
    "r": 44,
    "g": 100,
    "b": 190
  },
  "hsl": {
    "h": 216.986,
    "s": 62.393,
    "l": 45.882
  },
  "oklch": {
    "l": 0.51566,
    "c": 0.15343,
    "h": 259.6
  },
  "luminance": 0.13368
}

Semantic roles & 50–950 ramp

primary
#2C64BE
secondary
#CBAC7B
accent
#A742E5
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #2C64BE

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

Preview Lab → · Contrast checker → · Palette generator →

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