#2D64C6#2D64C6

#2D64C6 is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.2% C 0.164 H 260.9°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#2D64C6
RGBrgb(45, 100, 198)
HSLhsl(218, 63%, 48%)
HSVhsv(218, 77%, 78%)
CMYKcmyk(77.3%, 49.5%, 0%, 22.4%)
CIE-LABlab(43.87, 17.03, -56.29)
CIE-LCHlch(43.87, 58.81, 286.84°)
OKLaboklab(52.17% -0.0259 -0.1619)
OKLCHoklch(52.17% 0.164 260.9)
XYZxyz(15.8287, 13.7476, 55.2345)
Luminance0.1375 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D64C6 #C68F2D
analogous
#2DB1C6 #2D64C6 #422DC6
triadic
#2D64C6 #C62D64 #64C62D
tetradic
#2D64C6 #C62DB1 #C68F2D #2DC642
square
#2D64C6 #C62DB1 #C68F2D #2DC642
split-complementary
#2D64C6 #C6422D #B1C62D
monochromatic
#163262 #224B94 #2D64C6 #5786D9 #89AAE4

Accessibility & contrast

On white

5.60
#2D64C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#2D64C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D64C6
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D64C6#FFFFFF#000000##FFFFFF
##2D64C61.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#296FCA
Deuteranopia (green-blind)
#0061C4
Tritanopia (blue-blind)
#007C8B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2d64c6;
/* rgb */ color: rgb(45, 100, 198);
/* oklch */ color: oklch(52.2% 0.164 260.9);
Tailwind
colors: {
  custom: {
    50: '#7c8fd8',
    500: '#2d64c6',
    950: '#000000',
  },
}
SCSS
$custom: #2d64c6;
$custom-light: #7c8fd8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d64c6",
  "rgb": {
    "r": 45,
    "g": 100,
    "b": 198
  },
  "hsl": {
    "h": 218.431,
    "s": 62.963,
    "l": 47.647
  },
  "oklch": {
    "l": 0.52173,
    "c": 0.16392,
    "h": 260.9
  },
  "luminance": 0.13749
}

Semantic roles & 50–950 ramp

primary
#2D64C6
secondary
#CEB281
accent
#AB42E6
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #2D64C6

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

Preview Lab → · Contrast checker → · Palette generator →

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