#2A64B8#2A64B8

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

Color values

HEX#2A64B8
RGBrgb(42, 100, 184)
HSLhsl(215, 63%, 44%)
HSVhsv(215, 77%, 72%)
CMYKcmyk(77.2%, 45.7%, 0%, 27.8%)
CIE-LABlab(42.86, 11.35, -49.79)
CIE-LCHlch(42.86, 51.06, 282.84°)
OKLaboklab(51.08% -0.0301 -0.1428)
OKLCHoklch(51.08% 0.146 258.1)
XYZxyz(14.1606, 13.0656, 47.1137)
Luminance0.1307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A64B8 #B87E2A
analogous
#2AABB8 #2A64B8 #372AB8
triadic
#2A64B8 #B82A64 #64B82A
tetradic
#2A64B8 #B82AAB #B87E2A #2AB837
square
#2A64B8 #B82AAB #B87E2A #2AB837
split-complementary
#2A64B8 #B8372A #ABB82A
monochromatic
#132E54 #1F4986 #2A64B8 #4A83D6 #7BA5E1

Accessibility & contrast

On white

5.81
#2A64B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#2A64B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A64B8
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A64B8#FFFFFF#000000##FFFFFF
##2A64B81.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a64b8;
/* rgb */ color: rgb(42, 100, 184);
/* oklch */ color: oklch(51.1% 0.146 258.1);
Tailwind
colors: {
  custom: {
    50: '#788fce',
    500: '#2a64b8',
    950: '#000000',
  },
}
SCSS
$custom: #2a64b8;
$custom-light: #788fce;
$custom-dark: #000000;
JSON
{
  "hex": "#2a64b8",
  "rgb": {
    "r": 42,
    "g": 100,
    "b": 184
  },
  "hsl": {
    "h": 215.493,
    "s": 62.832,
    "l": 44.314
  },
  "oklch": {
    "l": 0.5108,
    "c": 0.14591,
    "h": 258.1
  },
  "luminance": 0.13067
}

Semantic roles & 50–950 ramp

primary
#2A64B8
secondary
#C9A775
accent
#A342E6
background
#F7F8FC
surface
#EEF0F9
border
#C9CBD2
text
#0A0C14
muted
#7C7D82

Preview Lab

Preview with #2A64B8

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

Preview Lab → · Contrast checker → · Palette generator →

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