#2D64C0#2D64C0

#2D64C0 is a mid, vivid blue. Relative luminance 0.135; OKLCH L 51.7% C 0.156 H 260.1°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#2D64C0
RGBrgb(45, 100, 192)
HSLhsl(218, 62%, 46%)
HSVhsv(218, 77%, 75%)
CMYKcmyk(76.6%, 47.9%, 0%, 24.7%)
CIE-LABlab(43.47, 14.75, -53.45)
CIE-LCHlch(43.47, 55.45, 285.43°)
OKLaboklab(51.74% -0.0268 -0.1535)
OKLCHoklch(51.74% 0.156 260.1)
XYZxyz(15.1503, 13.4763, 51.6617)
Luminance0.1348 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D64C0 #C0892D
analogous
#2DAEC0 #2D64C0 #402DC0
triadic
#2D64C0 #C02D64 #64C02D
tetradic
#2D64C0 #C02DAE #C0892D #2DC040
square
#2D64C0 #C02DAE #C0892D #2DC040
split-complementary
#2D64C0 #C0402D #AEC02D
monochromatic
#16305D #214A8E #2D64C0 #5385D7 #85A8E2

Accessibility & contrast

On white

5.68
#2D64C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#2D64C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D64C0
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D64C0#FFFFFF#000000##FFFFFF
##2D64C01.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#316EC3
Deuteranopia (green-blind)
#0060BE
Tritanopia (blue-blind)
#007A89
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2d64c0;
/* rgb */ color: rgb(45, 100, 192);
/* oklch */ color: oklch(51.7% 0.156 260.1);
Tailwind
colors: {
  custom: {
    50: '#7b8fd4',
    500: '#2d64c0',
    950: '#000000',
  },
}
SCSS
$custom: #2d64c0;
$custom-light: #7b8fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d64c0",
  "rgb": {
    "r": 45,
    "g": 100,
    "b": 192
  },
  "hsl": {
    "h": 217.551,
    "s": 62.025,
    "l": 46.471
  },
  "oklch": {
    "l": 0.51742,
    "c": 0.15584,
    "h": 260.1
  },
  "luminance": 0.13478
}

Semantic roles & 50–950 ramp

primary
#2D64C0
secondary
#CCAE7D
accent
#A843E5
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #2D64C0

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

Preview Lab → · Contrast checker → · Palette generator →

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