#4A7FAC#4A7FAC

#4A7FAC is a mid, moderate cyan. Relative luminance 0.196; OKLCH L 57.9% C 0.090 H 245.8°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#4A7FAC
RGBrgb(74, 127, 172)
HSLhsl(208, 40%, 48%)
HSVhsv(208, 57%, 67%)
CMYKcmyk(57%, 26.2%, 0%, 32.5%)
CIE-LABlab(51.40, -4.13, -29.23)
CIE-LCHlch(51.40, 29.52, 261.97°)
OKLaboklab(57.89% -0.0368 -0.082)
OKLCHoklch(57.89% 0.09 245.8)
XYZxyz(17.8571, 19.6116, 41.8661)
Luminance0.1961 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7FAC #AC774A
analogous
#4AACA8 #4A7FAC #4A4EAC
triadic
#4A7FAC #AC4A7F #7FAC4A
tetradic
#4A7FAC #A84AAC #AC774A #4EAC4A
square
#4A7FAC #A84AAC #AC774A #4EAC4A
split-complementary
#4A7FAC #AC4A4E #ACA84A
monochromatic
#254056 #385F81 #4A7FAC #719DC2 #9CBBD4

Accessibility & contrast

On white

4.27
#4A7FAC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#4A7FAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7FAC
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7FAC#FFFFFF#000000##000000
##4A7FAC1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C80AE
Deuteranopia (green-blind)
#5F76AB
Tritanopia (blue-blind)
#008A8E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4a7fac;
/* rgb */ color: rgb(74, 127, 172);
/* oklch */ color: oklch(57.9% 0.090 245.8);
Tailwind
colors: {
  custom: {
    50: '#84a4c5',
    500: '#4a7fac',
    950: '#000000',
  },
}
SCSS
$custom: #4a7fac;
$custom-light: #84a4c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7fac",
  "rgb": {
    "r": 74,
    "g": 127,
    "b": 172
  },
  "hsl": {
    "h": 207.551,
    "s": 39.837,
    "l": 48.235
  },
  "oklch": {
    "l": 0.57886,
    "c": 0.08989,
    "h": 245.8
  },
  "luminance": 0.19613
}

Semantic roles & 50–950 ramp

primary
#4A7FAC
secondary
#C1A791
accent
#8F58D0
background
#F8FAFC
surface
#F0F3F8
border
#CBCDD1
text
#0B0F12
muted
#7C7F81

Preview Lab

Preview with #4A7FAC

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

Preview Lab → · Contrast checker → · Palette generator →

#4A7FAC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva