#2A7AC4#2A7AC4

#2A7AC4 is a mid, vivid cyan. Relative luminance 0.184; OKLCH L 56.8% C 0.137 H 250.3°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#2A7AC4
RGBrgb(42, 122, 196)
HSLhsl(209, 65%, 47%)
HSVhsv(209, 79%, 77%)
CMYKcmyk(78.6%, 37.8%, 0%, 23.1%)
CIE-LABlab(49.97, 2.10, -45.37)
CIE-LCHlch(49.97, 45.41, 272.65°)
OKLaboklab(56.84% -0.0463 -0.1294)
OKLCHoklch(56.84% 0.137 250.3)
XYZxyz(17.8744, 18.3947, 54.8223)
Luminance0.1840 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7AC4 #C4742A
analogous
#2AC4C1 #2A7AC4 #2A2DC4
triadic
#2A7AC4 #C42A7A #7AC42A
tetradic
#2A7AC4 #C12AC4 #C4742A #2DC42A
square
#2A7AC4 #C12AC4 #C4742A #2DC42A
split-complementary
#2A7AC4 #C42A2D #C4C12A
monochromatic
#143B5F #1F5B92 #2A7AC4 #5198DA #84B6E5

Accessibility & contrast

On white

4.49
#2A7AC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#2A7AC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A7AC4
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7AC4#FFFFFF#000000##000000
##2A7AC41.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#577FC7
Deuteranopia (green-blind)
#3F70C3
Tritanopia (blue-blind)
#008C95
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2a7ac4;
/* rgb */ color: rgb(42, 122, 196);
/* oklch */ color: oklch(56.8% 0.137 250.3);
Tailwind
colors: {
  custom: {
    50: '#7ba0d6',
    500: '#2a7ac4',
    950: '#000000',
  },
}
SCSS
$custom: #2a7ac4;
$custom-light: #7ba0d6;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7ac4",
  "rgb": {
    "r": 42,
    "g": 122,
    "b": 196
  },
  "hsl": {
    "h": 208.831,
    "s": 64.706,
    "l": 46.667
  },
  "oklch": {
    "l": 0.56839,
    "c": 0.13743,
    "h": 250.3
  },
  "luminance": 0.18397
}

Semantic roles & 50–950 ramp

primary
#2A7AC4
secondary
#CEA37C
accent
#9140E8
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0E14
muted
#7C7E83

Preview Lab

Preview with #2A7AC4

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

Preview Lab → · Contrast checker → · Palette generator →

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