#2A7CC4#2A7CC4

#2A7CC4 is a mid, vivid cyan. Relative luminance 0.189; OKLCH L 57.3% C 0.135 H 249.2°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#2A7CC4
RGBrgb(42, 124, 196)
HSLhsl(208, 65%, 47%)
HSVhsv(208, 79%, 77%)
CMYKcmyk(78.6%, 36.7%, 0%, 23.1%)
CIE-LABlab(50.56, 0.89, -44.43)
CIE-LCHlch(50.56, 44.44, 271.15°)
OKLaboklab(57.3% -0.0481 -0.1266)
OKLCHoklch(57.3% 0.135 249.2)
XYZxyz(18.1225, 18.8909, 54.9050)
Luminance0.1889 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7CC4 #C4722A
analogous
#2AC4BF #2A7CC4 #2A2FC4
triadic
#2A7CC4 #C42A7C #7CC42A
tetradic
#2A7CC4 #BF2AC4 #C4722A #2FC42A
square
#2A7CC4 #BF2AC4 #C4722A #2FC42A
split-complementary
#2A7CC4 #C42A2F #C4BF2A
monochromatic
#143C5F #1F5C92 #2A7CC4 #519ADA #84B7E5

Accessibility & contrast

On white

4.39
#2A7CC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#2A7CC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A7CC4
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7CC4#FFFFFF#000000##000000
##2A7CC41.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A80C7
Deuteranopia (green-blind)
#4372C3
Tritanopia (blue-blind)
#008D96
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2a7cc4;
/* rgb */ color: rgb(42, 124, 196);
/* oklch */ color: oklch(57.3% 0.135 249.2);
Tailwind
colors: {
  custom: {
    50: '#7ba1d6',
    500: '#2a7cc4',
    950: '#000000',
  },
}
SCSS
$custom: #2a7cc4;
$custom-light: #7ba1d6;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7cc4",
  "rgb": {
    "r": 42,
    "g": 124,
    "b": 196
  },
  "hsl": {
    "h": 208.052,
    "s": 64.706,
    "l": 46.667
  },
  "oklch": {
    "l": 0.573,
    "c": 0.13544,
    "h": 249.2
  },
  "luminance": 0.18893
}

Semantic roles & 50–950 ramp

primary
#2A7CC4
secondary
#CEA27C
accent
#8E40E8
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0E14
muted
#7C7E83

Preview Lab

Preview with #2A7CC4

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

Preview Lab → · Contrast checker → · Palette generator →

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