#2A64AF#2A64AF

#2A64AF is a mid, vivid cyan. Relative luminance 0.127; OKLCH L 50.5% C 0.134 H 256.2°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#2A64AF
RGBrgb(42, 100, 175)
HSLhsl(214, 61%, 43%)
HSVhsv(214, 76%, 69%)
CMYKcmyk(76%, 42.9%, 0%, 31.4%)
CIE-LABlab(42.31, 7.91, -45.41)
CIE-LCHlch(42.31, 46.09, 279.88°)
OKLaboklab(50.47% -0.0318 -0.1299)
OKLCHoklch(50.47% 0.134 256.2)
XYZxyz(13.2470, 12.7002, 42.3024)
Luminance0.1270 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A64AF #AF752A
analogous
#2AA6AF #2A64AF #332AAF
triadic
#2A64AF #AF2A64 #64AF2A
tetradic
#2A64AF #AF2AA6 #AF752A #2AAF33
square
#2A64AF #AF2AA6 #AF752A #2AAF33
split-complementary
#2A64AF #AF332A #A6AF2A
monochromatic
#122C4C #1E487E #2A64AF #4482D2 #75A3DE

Accessibility & contrast

On white

5.93
#2A64AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#2A64AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A64AF
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A64AF#FFFFFF#000000##FFFFFF
##2A64AF1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F6AB2
Deuteranopia (green-blind)
#275EAD
Tritanopia (blue-blind)
#007681
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2a64af;
/* rgb */ color: rgb(42, 100, 175);
/* oklch */ color: oklch(50.5% 0.134 256.2);
Tailwind
colors: {
  custom: {
    50: '#768fc7',
    500: '#2a64af',
    950: '#000000',
  },
}
SCSS
$custom: #2a64af;
$custom-light: #768fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#2a64af",
  "rgb": {
    "r": 42,
    "g": 100,
    "b": 175
  },
  "hsl": {
    "h": 213.835,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50473,
    "c": 0.13374,
    "h": 256.2
  },
  "luminance": 0.12702
}

Semantic roles & 50–950 ramp

primary
#2A64AF
secondary
#C6A06F
accent
#9E43E4
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2A64AF

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

Preview Lab → · Contrast checker → · Palette generator →

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