#2D64B8#2D64B8

#2D64B8 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.2% C 0.145 H 258.8°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#2D64B8
RGBrgb(45, 100, 184)
HSLhsl(216, 61%, 45%)
HSVhsv(216, 76%, 72%)
CMYKcmyk(75.5%, 45.7%, 0%, 27.8%)
CIE-LABlab(42.96, 11.72, -49.62)
CIE-LCHlch(42.96, 50.99, 283.28°)
OKLaboklab(51.18% -0.0281 -0.1423)
OKLCHoklch(51.18% 0.145 258.8)
XYZxyz(14.2879, 13.1313, 47.1197)
Luminance0.1313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D64B8 #B8812D
analogous
#2DAAB8 #2D64B8 #3B2DB8
triadic
#2D64B8 #B82D64 #64B82D
tetradic
#2D64B8 #B82DAA #B8812D #2DB83B
square
#2D64B8 #B82DAA #B8812D #2DB83B
split-complementary
#2D64B8 #B83B2D #AAB82D
monochromatic
#152F56 #214987 #2D64B8 #4E83D4 #80A6E0

Accessibility & contrast

On white

5.79
#2D64B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#2D64B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D64B8
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D64B8#FFFFFF#000000##FFFFFF
##2D64B81.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#386CBB
Deuteranopia (green-blind)
#1A60B6
Tritanopia (blue-blind)
#007885
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2d64b8;
/* rgb */ color: rgb(45, 100, 184);
/* oklch */ color: oklch(51.2% 0.145 258.8);
Tailwind
colors: {
  custom: {
    50: '#798fce',
    500: '#2d64b8',
    950: '#000000',
  },
}
SCSS
$custom: #2d64b8;
$custom-light: #798fce;
$custom-dark: #000000;
JSON
{
  "hex": "#2d64b8",
  "rgb": {
    "r": 45,
    "g": 100,
    "b": 184
  },
  "hsl": {
    "h": 216.259,
    "s": 60.699,
    "l": 44.902
  },
  "oklch": {
    "l": 0.51184,
    "c": 0.14501,
    "h": 258.8
  },
  "luminance": 0.13133
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D64B8

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

Preview Lab → · Contrast checker → · Palette generator →

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