#2C64B5#2C64B5

#2C64B5 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 50.9% C 0.141 H 258.0°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#2C64B5
RGBrgb(44, 100, 181)
HSLhsl(215, 61%, 44%)
HSVhsv(215, 76%, 71%)
CMYKcmyk(75.7%, 44.8%, 0%, 29%)
CIE-LABlab(42.74, 10.45, -48.23)
CIE-LCHlch(42.74, 49.35, 282.23°)
OKLaboklab(50.94% -0.0293 -0.1382)
OKLCHoklch(50.94% 0.141 258)
XYZxyz(13.9333, 12.9844, 45.4790)
Luminance0.1299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C64B5 #B57D2C
analogous
#2CA9B5 #2C64B5 #382CB5
triadic
#2C64B5 #B52C64 #64B52C
tetradic
#2C64B5 #B52CA9 #B57D2C #2CB538
square
#2C64B5 #B52CA9 #B57D2C #2CB538
split-complementary
#2C64B5 #B5382C #A9B52C
monochromatic
#142E53 #204984 #2C64B5 #4B83D3 #7CA5DF

Accessibility & contrast

On white

5.84
#2C64B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#2C64B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C64B5
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C64B5#FFFFFF#000000##FFFFFF
##2C64B51.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B6CB8
Deuteranopia (green-blind)
#1F5FB3
Tritanopia (blue-blind)
#007783
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2c64b5;
/* rgb */ color: rgb(44, 100, 181);
/* oklch */ color: oklch(50.9% 0.141 258.0);
Tailwind
colors: {
  custom: {
    50: '#788fcc',
    500: '#2c64b5',
    950: '#000000',
  },
}
SCSS
$custom: #2c64b5;
$custom-light: #788fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#2c64b5",
  "rgb": {
    "r": 44,
    "g": 100,
    "b": 181
  },
  "hsl": {
    "h": 215.474,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.50944,
    "c": 0.14125,
    "h": 258
  },
  "luminance": 0.12986
}

Semantic roles & 50–950 ramp

primary
#2C64B5
secondary
#C8A675
accent
#A344E4
background
#F7F8FC
surface
#EEF0F9
border
#C9CBD2
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2C64B5

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

Preview Lab → · Contrast checker → · Palette generator →

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