#2A64B3#2A64B3

#2A64B3 is a mid, vivid cyan. Relative luminance 0.129; OKLCH L 50.7% C 0.139 H 257.1°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#2A64B3
RGBrgb(42, 100, 179)
HSLhsl(215, 62%, 43%)
HSVhsv(215, 77%, 70%)
CMYKcmyk(76.5%, 44.1%, 0%, 29.8%)
CIE-LABlab(42.55, 9.44, -47.36)
CIE-LCHlch(42.55, 48.29, 281.27°)
OKLaboklab(50.74% -0.031 -0.1356)
OKLCHoklch(50.74% 0.139 257.1)
XYZxyz(13.6457, 12.8597, 44.4021)
Luminance0.1286 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A64B3 #B3792A
analogous
#2AA8B3 #2A64B3 #352AB3
triadic
#2A64B3 #B32A64 #64B32A
tetradic
#2A64B3 #B32AA8 #B3792A #2AB335
square
#2A64B3 #B32AA8 #B3792A #2AB335
split-complementary
#2A64B3 #B3352A #A8B32A
monochromatic
#132D50 #1E4881 #2A64B3 #4682D4 #78A4DF

Accessibility & contrast

On white

5.88
#2A64B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#2A64B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A64B3
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A64B3#FFFFFF#000000##FFFFFF
##2A64B31.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C6BB6
Deuteranopia (green-blind)
#215FB1
Tritanopia (blue-blind)
#007783
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2a64b3;
/* rgb */ color: rgb(42, 100, 179);
/* oklch */ color: oklch(50.7% 0.139 257.1);
Tailwind
colors: {
  custom: {
    50: '#778fca',
    500: '#2a64b3',
    950: '#000000',
  },
}
SCSS
$custom: #2a64b3;
$custom-light: #778fca;
$custom-dark: #000000;
JSON
{
  "hex": "#2a64b3",
  "rgb": {
    "r": 42,
    "g": 100,
    "b": 179
  },
  "hsl": {
    "h": 214.599,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.5074,
    "c": 0.13915,
    "h": 257.1
  },
  "luminance": 0.12861
}

Semantic roles & 50–950 ramp

primary
#2A64B3
secondary
#C7A372
accent
#A043E5
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2A64B3

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

Preview Lab → · Contrast checker → · Palette generator →

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