#2A64A5#2A64A5

#2A64A5 is a mid, vivid cyan. Relative luminance 0.123; OKLCH L 49.8% C 0.120 H 253.5°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#2A64A5
RGBrgb(42, 100, 165)
HSLhsl(212, 59%, 41%)
HSVhsv(212, 75%, 65%)
CMYKcmyk(74.5%, 39.4%, 0%, 35.3%)
CIE-LABlab(41.72, 4.11, -40.44)
CIE-LCHlch(41.72, 40.65, 275.80°)
OKLaboklab(49.83% -0.0341 -0.1153)
OKLCHoklch(49.83% 0.12 253.5)
XYZxyz(12.3010, 12.3218, 37.3201)
Luminance0.1232 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A64A5 #A56B2A
analogous
#2AA1A5 #2A64A5 #2D2AA5
triadic
#2A64A5 #A52A64 #64A52A
tetradic
#2A64A5 #A52AA1 #A56B2A #2AA52D
square
#2A64A5 #A52AA1 #A56B2A #2AA52D
split-complementary
#2A64A5 #A52D2A #A1A52A
monochromatic
#112943 #1E4674 #2A64A5 #3E82CE #6FA2DA

Accessibility & contrast

On white

6.06
#2A64A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#2A64A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A64A5
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A64A5#FFFFFF#000000##FFFFFF
##2A64A51.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4669A8
Deuteranopia (green-blind)
#325DA4
Tritanopia (blue-blind)
#00737C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2a64a5;
/* rgb */ color: rgb(42, 100, 165);
/* oklch */ color: oklch(49.8% 0.120 253.5);
Tailwind
colors: {
  custom: {
    50: '#748fc0',
    500: '#2a64a5',
    950: '#000000',
  },
}
SCSS
$custom: #2a64a5;
$custom-light: #748fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#2a64a5",
  "rgb": {
    "r": 42,
    "g": 100,
    "b": 165
  },
  "hsl": {
    "h": 211.707,
    "s": 59.42,
    "l": 40.588
  },
  "oklch": {
    "l": 0.49828,
    "c": 0.12027,
    "h": 253.5
  },
  "luminance": 0.12323
}

Semantic roles & 50–950 ramp

primary
#2A64A5
secondary
#C19869
accent
#9845E3
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#090C12
muted
#7B7D81

Preview Lab

Preview with #2A64A5

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

Preview Lab → · Contrast checker → · Palette generator →

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