#2A64B9#2A64B9

#2A64B9 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.1% C 0.147 H 258.3°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#2A64B9
RGBrgb(42, 100, 185)
HSLhsl(216, 63%, 45%)
HSVhsv(216, 77%, 73%)
CMYKcmyk(77.3%, 45.9%, 0%, 27.5%)
CIE-LABlab(42.93, 11.73, -50.27)
CIE-LCHlch(42.93, 51.62, 283.14°)
OKLaboklab(51.15% -0.0299 -0.1442)
OKLCHoklch(51.15% 0.147 258.3)
XYZxyz(14.2658, 13.1077, 47.6677)
Luminance0.1311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A64B9 #B97F2A
analogous
#2AACB9 #2A64B9 #372AB9
triadic
#2A64B9 #B92A64 #64B92A
tetradic
#2A64B9 #B92AAC #B97F2A #2AB937
square
#2A64B9 #B92AAC #B97F2A #2AB937
split-complementary
#2A64B9 #B9372A #ACB92A
monochromatic
#132E55 #1F4987 #2A64B9 #4A83D6 #7CA5E1

Accessibility & contrast

On white

5.80
#2A64B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#2A64B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A64B9
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A64B9#FFFFFF#000000##FFFFFF
##2A64B91.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#376CBC
Deuteranopia (green-blind)
#155FB7
Tritanopia (blue-blind)
#007885
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2a64b9;
/* rgb */ color: rgb(42, 100, 185);
/* oklch */ color: oklch(51.1% 0.147 258.3);
Tailwind
colors: {
  custom: {
    50: '#788fce',
    500: '#2a64b9',
    950: '#000000',
  },
}
SCSS
$custom: #2a64b9;
$custom-light: #788fce;
$custom-dark: #000000;
JSON
{
  "hex": "#2a64b9",
  "rgb": {
    "r": 42,
    "g": 100,
    "b": 185
  },
  "hsl": {
    "h": 215.664,
    "s": 62.996,
    "l": 44.51
  },
  "oklch": {
    "l": 0.51149,
    "c": 0.14726,
    "h": 258.3
  },
  "luminance": 0.13109
}

Semantic roles & 50–950 ramp

primary
#2A64B9
secondary
#CAA775
accent
#A342E6
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C14
muted
#7C7D82

Preview Lab

Preview with #2A64B9

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

Preview Lab → · Contrast checker → · Palette generator →

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