#2D64B6#2D64B6

#2D64B6 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.0% C 0.142 H 258.5°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#2D64B6
RGBrgb(45, 100, 182)
HSLhsl(216, 60%, 45%)
HSVhsv(216, 75%, 71%)
CMYKcmyk(75.3%, 45.1%, 0%, 28.6%)
CIE-LABlab(42.84, 10.96, -48.66)
CIE-LCHlch(42.84, 49.87, 282.69°)
OKLaboklab(51.05% -0.0285 -0.1394)
OKLCHoklch(51.05% 0.142 258.5)
XYZxyz(14.0798, 13.0480, 46.0234)
Luminance0.1305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D64B6 #B67F2D
analogous
#2DA9B6 #2D64B6 #3A2DB6
triadic
#2D64B6 #B62D64 #64B62D
tetradic
#2D64B6 #B62DA9 #B67F2D #2DB63A
square
#2D64B6 #B62DA9 #B67F2D #2DB63A
split-complementary
#2D64B6 #B63A2D #A9B62D
monochromatic
#152E54 #214985 #2D64B6 #4D83D3 #7EA5DF

Accessibility & contrast

On white

5.82
#2D64B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#2D64B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D64B6
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D64B6#FFFFFF#000000##FFFFFF
##2D64B61.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A6CB9
Deuteranopia (green-blind)
#1E5FB4
Tritanopia (blue-blind)
#007784
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2d64b6;
/* rgb */ color: rgb(45, 100, 182);
/* oklch */ color: oklch(51.0% 0.142 258.5);
Tailwind
colors: {
  custom: {
    50: '#798fcc',
    500: '#2d64b6',
    950: '#000000',
  },
}
SCSS
$custom: #2d64b6;
$custom-light: #798fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#2d64b6",
  "rgb": {
    "r": 45,
    "g": 100,
    "b": 182
  },
  "hsl": {
    "h": 215.912,
    "s": 60.352,
    "l": 44.51
  },
  "oklch": {
    "l": 0.51047,
    "c": 0.14229,
    "h": 258.5
  },
  "luminance": 0.1305
}

Semantic roles & 50–950 ramp

primary
#2D64B6
secondary
#C8A777
accent
#A444E3
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2D64B6

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

Preview Lab → · Contrast checker → · Palette generator →

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