#2D64B5#2D64B5

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

Color values

HEX#2D64B5
RGBrgb(45, 100, 181)
HSLhsl(216, 60%, 44%)
HSVhsv(216, 75%, 71%)
CMYKcmyk(75.1%, 44.8%, 0%, 29%)
CIE-LABlab(42.77, 10.58, -48.17)
CIE-LCHlch(42.77, 49.32, 282.38°)
OKLaboklab(50.98% -0.0286 -0.138)
OKLCHoklch(50.98% 0.141 258.3)
XYZxyz(13.9768, 13.0069, 45.4811)
Luminance0.1301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D64B5 #B57E2D
analogous
#2DA8B5 #2D64B5 #3A2DB5
triadic
#2D64B5 #B52D64 #64B52D
tetradic
#2D64B5 #B52DA8 #B57E2D #2DB53A
square
#2D64B5 #B52DA8 #B57E2D #2DB53A
split-complementary
#2D64B5 #B53A2D #A8B52D
monochromatic
#152E53 #214984 #2D64B5 #4D83D3 #7EA5DF

Accessibility & contrast

On white

5.83
#2D64B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2D64B5
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D64B5#FFFFFF#000000##FFFFFF
##2D64B51.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.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: #2d64b5;
/* rgb */ color: rgb(45, 100, 181);
/* oklch */ color: oklch(51.0% 0.141 258.3);
Tailwind
colors: {
  custom: {
    50: '#798fcc',
    500: '#2d64b5',
    950: '#000000',
  },
}
SCSS
$custom: #2d64b5;
$custom-light: #798fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#2d64b5",
  "rgb": {
    "r": 45,
    "g": 100,
    "b": 181
  },
  "hsl": {
    "h": 215.735,
    "s": 60.177,
    "l": 44.314
  },
  "oklch": {
    "l": 0.50979,
    "c": 0.14093,
    "h": 258.3
  },
  "luminance": 0.13008
}

Semantic roles & 50–950 ramp

primary
#2D64B5
secondary
#C7A776
accent
#A344E3
background
#F7F8FC
surface
#EEF0F9
border
#C9CBD2
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2D64B5

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

Preview Lab → · Contrast checker → · Palette generator →

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