#2A64E3#2A64E3

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

Color values

HEX#2A64E3
RGBrgb(42, 100, 227)
HSLhsl(221, 77%, 53%)
HSVhsv(221, 81%, 89%)
CMYKcmyk(81.5%, 55.9%, 0%, 11%)
CIE-LABlab(45.84, 27.70, -69.67)
CIE-LCHlch(45.84, 74.97, 291.68°)
OKLaboklab(54.3% -0.0249 -0.2013)
OKLCHoklch(54.3% 0.203 263)
XYZxyz(19.3722, 15.1503, 74.5614)
Luminance0.1515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A64E3 #E3A92A
analogous
#2AC1E3 #2A64E3 #4C2AE3
triadic
#2A64E3 #E32A64 #64E32A
tetradic
#2A64E3 #E32AC1 #E3A92A #2AE34C
square
#2A64E3 #E32AC1 #E3A92A #2AE34C
split-complementary
#2A64E3 #E34C2A #C1E32A
monochromatic
#113482 #184AB8 #2A64E3 #608BEA #96B3F1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A64E3#FFFFFF#000000##FFFFFF
##2A64E31.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)
#0075E7
Deuteranopia (green-blind)
#0064E1
Tritanopia (blue-blind)
#00849A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2a64e3;
/* rgb */ color: rgb(42, 100, 227);
/* oklch */ color: oklch(54.3% 0.203 263.0);
Tailwind
colors: {
  custom: {
    50: '#828fed',
    500: '#2a64e3',
    950: '#000000',
  },
}
SCSS
$custom: #2a64e3;
$custom-light: #828fed;
$custom-dark: #000000;
JSON
{
  "hex": "#2a64e3",
  "rgb": {
    "r": 42,
    "g": 100,
    "b": 227
  },
  "hsl": {
    "h": 221.189,
    "s": 76.763,
    "l": 52.745
  },
  "oklch": {
    "l": 0.54296,
    "c": 0.20279,
    "h": 263
  },
  "luminance": 0.15153
}

Semantic roles & 50–950 ramp

primary
#2A64E3
secondary
#DCC38C
accent
#B734F3
background
#F8F8FE
surface
#F0F0FD
border
#CBCBD5
text
#0D0C16
muted
#7D7D84

Preview Lab

Preview with #2A64E3

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

Preview Lab → · Contrast checker → · Palette generator →

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