#2D64B9#2D64B9

#2D64B9 is a mid, vivid blue. Relative luminance 0.132; OKLCH L 51.3% C 0.146 H 259.0°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#2D64B9
RGBrgb(45, 100, 185)
HSLhsl(216, 61%, 45%)
HSVhsv(216, 76%, 73%)
CMYKcmyk(75.7%, 45.9%, 0%, 27.5%)
CIE-LABlab(43.02, 12.10, -50.10)
CIE-LCHlch(43.02, 51.54, 283.57°)
OKLaboklab(51.25% -0.0279 -0.1437)
OKLCHoklch(51.25% 0.146 259)
XYZxyz(14.3931, 13.1734, 47.6737)
Luminance0.1318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D64B9 #B9822D
analogous
#2DAAB9 #2D64B9 #3C2DB9
triadic
#2D64B9 #B92D64 #64B92D
tetradic
#2D64B9 #B92DAA #B9822D #2DB93C
square
#2D64B9 #B92DAA #B9822D #2DB93C
split-complementary
#2D64B9 #B93C2D #AAB92D
monochromatic
#152F57 #214988 #2D64B9 #4F83D4 #80A6E0

Accessibility & contrast

On white

5.78
#2D64B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#2D64B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D64B9
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D64B9#FFFFFF#000000##FFFFFF
##2D64B91.005.783.645.78
#FFFFFF5.781.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#376CBC
Deuteranopia (green-blind)
#1760B7
Tritanopia (blue-blind)
#007885
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2d64b9;
/* rgb */ color: rgb(45, 100, 185);
/* oklch */ color: oklch(51.3% 0.146 259.0);
Tailwind
colors: {
  custom: {
    50: '#7a8fce',
    500: '#2d64b9',
    950: '#000000',
  },
}
SCSS
$custom: #2d64b9;
$custom-light: #7a8fce;
$custom-dark: #000000;
JSON
{
  "hex": "#2d64b9",
  "rgb": {
    "r": 45,
    "g": 100,
    "b": 185
  },
  "hsl": {
    "h": 216.429,
    "s": 60.87,
    "l": 45.098
  },
  "oklch": {
    "l": 0.51253,
    "c": 0.14637,
    "h": 259
  },
  "luminance": 0.13175
}

Semantic roles & 50–950 ramp

primary
#2D64B9
secondary
#C9A979
accent
#A544E4
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C14
muted
#7C7D82

Preview Lab

Preview with #2D64B9

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

Preview Lab → · Contrast checker → · Palette generator →

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