#2A64A2#2A64A2

#2A64A2 is a mid, moderate cyan. Relative luminance 0.122; OKLCH L 49.6% C 0.116 H 252.5°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#2A64A2
RGBrgb(42, 100, 162)
HSLhsl(211, 59%, 40%)
HSVhsv(211, 74%, 64%)
CMYKcmyk(74.1%, 38.3%, 0%, 36.5%)
CIE-LABlab(41.55, 2.97, -38.94)
CIE-LCHlch(41.55, 39.05, 274.37°)
OKLaboklab(49.64% -0.0349 -0.1109)
OKLCHoklch(49.64% 0.116 252.5)
XYZxyz(12.0312, 12.2139, 35.8989)
Luminance0.1221 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A64A2 #A2682A
analogous
#2AA0A2 #2A64A2 #2C2AA2
triadic
#2A64A2 #A22A64 #64A22A
tetradic
#2A64A2 #A22AA0 #A2682A #2AA22C
square
#2A64A2 #A22AA0 #A2682A #2AA22C
split-complementary
#2A64A2 #A22C2A #A0A22A
monochromatic
#112841 #1D4671 #2A64A2 #3D82CD #6DA1D9

Accessibility & contrast

On white

6.10
#2A64A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#2A64A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A64A2
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A64A2#FFFFFF#000000##FFFFFF
##2A64A21.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4768A5
Deuteranopia (green-blind)
#355DA1
Tritanopia (blue-blind)
#00737B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2a64a2;
/* rgb */ color: rgb(42, 100, 162);
/* oklch */ color: oklch(49.6% 0.116 252.5);
Tailwind
colors: {
  custom: {
    50: '#748fbe',
    500: '#2a64a2',
    950: '#000000',
  },
}
SCSS
$custom: #2a64a2;
$custom-light: #748fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#2a64a2",
  "rgb": {
    "r": 42,
    "g": 100,
    "b": 162
  },
  "hsl": {
    "h": 211,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.49641,
    "c": 0.11627,
    "h": 252.5
  },
  "luminance": 0.12215
}

Semantic roles & 50–950 ramp

primary
#2A64A2
secondary
#C09568
accent
#9746E2
background
#F7F8FB
surface
#EDF0F7
border
#C8CBD0
text
#090C12
muted
#7B7D81

Preview Lab

Preview with #2A64A2

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

Preview Lab → · Contrast checker → · Palette generator →

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