#2A64B2#2A64B2

#2A64B2 is a mid, vivid cyan. Relative luminance 0.128; OKLCH L 50.7% C 0.138 H 256.9°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#2A64B2
RGBrgb(42, 100, 178)
HSLhsl(214, 62%, 43%)
HSVhsv(214, 76%, 70%)
CMYKcmyk(76.4%, 43.8%, 0%, 30.2%)
CIE-LABlab(42.49, 9.05, -46.87)
CIE-LCHlch(42.49, 47.74, 280.93°)
OKLaboklab(50.67% -0.0312 -0.1342)
OKLCHoklch(50.67% 0.138 256.9)
XYZxyz(13.5449, 12.8194, 43.8714)
Luminance0.1282 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A64B2 #B2782A
analogous
#2AA8B2 #2A64B2 #342AB2
triadic
#2A64B2 #B22A64 #64B22A
tetradic
#2A64B2 #B22AA8 #B2782A #2AB234
square
#2A64B2 #B22AA8 #B2782A #2AB234
split-complementary
#2A64B2 #B2342A #A8B22A
monochromatic
#132C4F #1E4880 #2A64B2 #4682D3 #77A4DF

Accessibility & contrast

On white

5.89
#2A64B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#2A64B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A64B2
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A64B2#FFFFFF#000000##FFFFFF
##2A64B21.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D6BB5
Deuteranopia (green-blind)
#235FB0
Tritanopia (blue-blind)
#007682
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2a64b2;
/* rgb */ color: rgb(42, 100, 178);
/* oklch */ color: oklch(50.7% 0.138 256.9);
Tailwind
colors: {
  custom: {
    50: '#778fc9',
    500: '#2a64b2',
    950: '#000000',
  },
}
SCSS
$custom: #2a64b2;
$custom-light: #778fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a64b2",
  "rgb": {
    "r": 42,
    "g": 100,
    "b": 178
  },
  "hsl": {
    "h": 214.412,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.50672,
    "c": 0.1378,
    "h": 256.9
  },
  "luminance": 0.12821
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A64B2

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

Preview Lab → · Contrast checker → · Palette generator →

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