#2D64CA#2D64CA

#2D64CA is a mid, vivid blue. Relative luminance 0.139; OKLCH L 52.5% C 0.169 H 261.4°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#2D64CA
RGBrgb(45, 100, 202)
HSLhsl(219, 64%, 48%)
HSVhsv(219, 78%, 79%)
CMYKcmyk(77.7%, 50.5%, 0%, 20.8%)
CIE-LABlab(44.14, 18.55, -58.15)
CIE-LCHlch(44.14, 61.04, 287.69°)
OKLaboklab(52.47% -0.0253 -0.1674)
OKLCHoklch(52.47% 0.169 261.4)
XYZxyz(16.2962, 13.9346, 57.6964)
Luminance0.1394 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D64CA #CA932D
analogous
#2DB2CA #2D64CA #442DCA
triadic
#2D64CA #CA2D64 #64CA2D
tetradic
#2D64CA #CA2DB2 #CA932D #2DCA44
square
#2D64CA #CA2DB2 #CA932D #2DCA44
split-complementary
#2D64CA #CA442D #B2CA2D
monochromatic
#173266 #224B98 #2D64CA #5A87DA #8CABE5

Accessibility & contrast

On white

5.54
#2D64CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#2D64CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D64CA
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D64CA#FFFFFF#000000##FFFFFF
##2D64CA1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2370CE
Deuteranopia (green-blind)
#0062C8
Tritanopia (blue-blind)
#007D8D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2d64ca;
/* rgb */ color: rgb(45, 100, 202);
/* oklch */ color: oklch(52.5% 0.169 261.4);
Tailwind
colors: {
  custom: {
    50: '#7d8fdb',
    500: '#2d64ca',
    950: '#000000',
  },
}
SCSS
$custom: #2d64ca;
$custom-light: #7d8fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#2d64ca",
  "rgb": {
    "r": 45,
    "g": 100,
    "b": 202
  },
  "hsl": {
    "h": 218.981,
    "s": 63.563,
    "l": 48.431
  },
  "oklch": {
    "l": 0.52466,
    "c": 0.16927,
    "h": 261.4
  },
  "luminance": 0.13936
}

Semantic roles & 50–950 ramp

primary
#2D64CA
secondary
#CFB583
accent
#AD41E7
background
#F8F8FD
surface
#EFF0FB
border
#CACBD4
text
#0B0C15
muted
#7C7D83

Preview Lab

Preview with #2D64CA

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

Preview Lab → · Contrast checker → · Palette generator →

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