#2C64BD#2C64BD

#2C64BD is a mid, vivid blue. Relative luminance 0.133; OKLCH L 51.5% C 0.152 H 259.4°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#2C64BD
RGBrgb(44, 100, 189)
HSLhsl(217, 62%, 46%)
HSVhsv(217, 77%, 74%)
CMYKcmyk(76.7%, 47.1%, 0%, 25.9%)
CIE-LABlab(43.24, 13.50, -52.08)
CIE-LCHlch(43.24, 53.80, 284.53°)
OKLaboklab(51.5% -0.0279 -0.1495)
OKLCHoklch(51.5% 0.152 259.4)
XYZxyz(14.7778, 13.3222, 49.9269)
Luminance0.1332 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C64BD #BD852C
analogous
#2CACBD #2C64BD #3D2CBD
triadic
#2C64BD #BD2C64 #64BD2C
tetradic
#2C64BD #BD2CAC #BD852C #2CBD3D
square
#2C64BD #BD2CAC #BD852C #2CBD3D
split-complementary
#2C64BD #BD3D2C #ACBD2C
monochromatic
#152F5A #204A8B #2C64BD #5084D6 #82A7E2

Accessibility & contrast

On white

5.73
#2C64BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#2C64BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C64BD
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C64BD#FFFFFF#000000##FFFFFF
##2C64BD1.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#346DC0
Deuteranopia (green-blind)
#0A60BB
Tritanopia (blue-blind)
#007987
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2c64bd;
/* rgb */ color: rgb(44, 100, 189);
/* oklch */ color: oklch(51.5% 0.152 259.4);
Tailwind
colors: {
  custom: {
    50: '#7a8fd1',
    500: '#2c64bd',
    950: '#000000',
  },
}
SCSS
$custom: #2c64bd;
$custom-light: #7a8fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#2c64bd",
  "rgb": {
    "r": 44,
    "g": 100,
    "b": 189
  },
  "hsl": {
    "h": 216.828,
    "s": 62.232,
    "l": 45.686
  },
  "oklch": {
    "l": 0.51496,
    "c": 0.15208,
    "h": 259.4
  },
  "luminance": 0.13324
}

Semantic roles & 50–950 ramp

primary
#2C64BD
secondary
#CBAC7A
accent
#A642E5
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #2C64BD

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

Preview Lab → · Contrast checker → · Palette generator →

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