#2D64D3#2D64D3

#2D64D3 is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.1% C 0.181 H 262.3°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#2D64D3
RGBrgb(45, 100, 211)
HSLhsl(220, 65%, 50%)
HSVhsv(220, 79%, 83%)
CMYKcmyk(78.7%, 52.6%, 0%, 17.3%)
CIE-LABlab(44.76, 21.96, -62.31)
CIE-LCHlch(44.76, 66.06, 289.41°)
OKLaboklab(53.14% -0.0243 -0.1796)
OKLCHoklch(53.14% 0.181 262.3)
XYZxyz(17.3930, 14.3733, 63.4730)
Luminance0.1437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D64D3 #D39C2D
analogous
#2DB7D3 #2D64D3 #492DD3
triadic
#2D64D3 #D32D64 #64D32D
tetradic
#2D64D3 #D32DB7 #D39C2D #2DD349
square
#2D64D3 #D32DB7 #D39C2D #2DD349
split-complementary
#2D64D3 #D3492D #B7D32D
monochromatic
#17346E #224CA1 #2D64D3 #6089DE #92AFE8

Accessibility & contrast

On white

5.42
#2D64D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#2D64D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D64D3
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D64D3#FFFFFF#000000##FFFFFF
##2D64D31.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F72D7
Deuteranopia (green-blind)
#0063D1
Tritanopia (blue-blind)
#007F92
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2d64d3;
/* rgb */ color: rgb(45, 100, 211);
/* oklch */ color: oklch(53.1% 0.181 262.3);
Tailwind
colors: {
  custom: {
    50: '#7f8fe1',
    500: '#2d64d3',
    950: '#000000',
  },
}
SCSS
$custom: #2d64d3;
$custom-light: #7f8fe1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d64d3",
  "rgb": {
    "r": 45,
    "g": 100,
    "b": 211
  },
  "hsl": {
    "h": 220.12,
    "s": 65.354,
    "l": 50.196
  },
  "oklch": {
    "l": 0.5314,
    "c": 0.18123,
    "h": 262.3
  },
  "luminance": 0.14375
}

Semantic roles & 50–950 ramp

primary
#2D64D3
secondary
#D3BA89
accent
#B03FE8
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #2D64D3

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

Preview Lab → · Contrast checker → · Palette generator →

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