#2D64E2#2D64E2

#2D64E2 is a mid, highly saturated blue. Relative luminance 0.152; OKLCH L 54.3% C 0.201 H 263.4°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#2D64E2
RGBrgb(45, 100, 226)
HSLhsl(222, 76%, 53%)
HSVhsv(222, 80%, 89%)
CMYKcmyk(80.1%, 55.8%, 0%, 11.4%)
CIE-LABlab(45.85, 27.59, -69.07)
CIE-LCHlch(45.85, 74.38, 291.77°)
OKLaboklab(54.31% -0.0231 -0.1995)
OKLCHoklch(54.31% 0.201 263.4)
XYZxyz(19.3619, 15.1609, 73.8426)
Luminance0.1516 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D64E2 #E2AB2D
analogous
#2DBEE2 #2D64E2 #502DE2
triadic
#2D64E2 #E22D64 #64E22D
tetradic
#2D64E2 #E22DBE #E2AB2D #2DE250
square
#2D64E2 #E22DBE #E2AB2D #2DE250
split-complementary
#2D64E2 #E2502D #BEE22D
monochromatic
#123483 #194AB8 #2D64E2 #638CE9 #99B3F1

Accessibility & contrast

On white

5.21
#2D64E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#2D64E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D64E2
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D64E2#FFFFFF#000000##FFFFFF
##2D64E21.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E6
Deuteranopia (green-blind)
#0065E0
Tritanopia (blue-blind)
#008399
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2d64e2;
/* rgb */ color: rgb(45, 100, 226);
/* oklch */ color: oklch(54.3% 0.201 263.4);
Tailwind
colors: {
  custom: {
    50: '#838fec',
    500: '#2d64e2',
    950: '#000000',
  },
}
SCSS
$custom: #2d64e2;
$custom-light: #838fec;
$custom-dark: #000000;
JSON
{
  "hex": "#2d64e2",
  "rgb": {
    "r": 45,
    "g": 100,
    "b": 226
  },
  "hsl": {
    "h": 221.768,
    "s": 75.732,
    "l": 53.137
  },
  "oklch": {
    "l": 0.54309,
    "c": 0.2008,
    "h": 263.4
  },
  "luminance": 0.15163
}

Semantic roles & 50–950 ramp

primary
#2D64E2
secondary
#DCC58E
accent
#B935F2
background
#F8F8FE
surface
#F0F0FD
border
#CBCBD5
text
#0D0C16
muted
#7D7D84

Preview Lab

Preview with #2D64E2

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

Preview Lab → · Contrast checker → · Palette generator →

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