#2A64A4#2A64A4

#2A64A4 is a mid, moderate cyan. Relative luminance 0.123; OKLCH L 49.8% C 0.119 H 253.2°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#2A64A4
RGBrgb(42, 100, 164)
HSLhsl(211, 59%, 40%)
HSVhsv(211, 74%, 64%)
CMYKcmyk(74.4%, 39%, 0%, 35.7%)
CIE-LABlab(41.67, 3.73, -39.94)
CIE-LCHlch(41.67, 40.12, 275.33°)
OKLaboklab(49.77% -0.0344 -0.1139)
OKLCHoklch(49.77% 0.119 253.2)
XYZxyz(12.2104, 12.2856, 36.8426)
Luminance0.1229 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A64A4 #A46A2A
analogous
#2AA1A4 #2A64A4 #2D2AA4
triadic
#2A64A4 #A42A64 #64A42A
tetradic
#2A64A4 #A42AA1 #A46A2A #2AA42D
square
#2A64A4 #A42AA1 #A46A2A #2AA42D
split-complementary
#2A64A4 #A42D2A #A1A42A
monochromatic
#112943 #1E4673 #2A64A4 #3E82CD #6EA2DA

Accessibility & contrast

On white

6.07
#2A64A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2A64A4
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A64A4#FFFFFF#000000##FFFFFF
##2A64A41.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4668A7
Deuteranopia (green-blind)
#335DA3
Tritanopia (blue-blind)
#00737C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2a64a4;
/* rgb */ color: rgb(42, 100, 164);
/* oklch */ color: oklch(49.8% 0.119 253.2);
Tailwind
colors: {
  custom: {
    50: '#748fbf',
    500: '#2a64a4',
    950: '#000000',
  },
}
SCSS
$custom: #2a64a4;
$custom-light: #748fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#2a64a4",
  "rgb": {
    "r": 42,
    "g": 100,
    "b": 164
  },
  "hsl": {
    "h": 211.475,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49765,
    "c": 0.11893,
    "h": 253.2
  },
  "luminance": 0.12287
}

Semantic roles & 50–950 ramp

primary
#2A64A4
secondary
#C19769
accent
#9845E2
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#090C12
muted
#7B7D81

Preview Lab

Preview with #2A64A4

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

Preview Lab → · Contrast checker → · Palette generator →

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