#4A7FA2#4A7FA2

#4A7FA2 is a mid, moderate cyan. Relative luminance 0.192; OKLCH L 57.4% C 0.078 H 239.1°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#4A7FA2
RGBrgb(74, 127, 162)
HSLhsl(204, 37%, 46%)
HSVhsv(204, 54%, 64%)
CMYKcmyk(54.3%, 21.6%, 0%, 36.5%)
CIE-LABlab(50.97, -7.32, -24.10)
CIE-LCHlch(50.97, 25.18, 253.11°)
OKLaboklab(57.41% -0.0403 -0.0672)
OKLCHoklch(57.41% 0.078 239.1)
XYZxyz(16.9326, 19.2418, 36.9971)
Luminance0.1924 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7FA2 #A26D4A
analogous
#4AA299 #4A7FA2 #4A53A2
triadic
#4A7FA2 #A24A7F #7FA24A
tetradic
#4A7FA2 #994AA2 #A26D4A #53A24A
square
#4A7FA2 #994AA2 #A26D4A #53A24A
split-complementary
#4A7FA2 #A24A53 #A2994A
monochromatic
#243D4E #375E78 #4A7FA2 #6D9DBC #97B9CF

Accessibility & contrast

On white

4.33
#4A7FA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#4A7FA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7FA2
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7FA2#FFFFFF#000000##000000
##4A7FA21.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F7FA4
Deuteranopia (green-blind)
#6375A1
Tritanopia (blue-blind)
#10888B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4a7fa2;
/* rgb */ color: rgb(74, 127, 162);
/* oklch */ color: oklch(57.4% 0.078 239.1);
Tailwind
colors: {
  custom: {
    50: '#83a4bd',
    500: '#4a7fa2',
    950: '#000000',
  },
}
SCSS
$custom: #4a7fa2;
$custom-light: #83a4bd;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7fa2",
  "rgb": {
    "r": 74,
    "g": 127,
    "b": 162
  },
  "hsl": {
    "h": 203.864,
    "s": 37.288,
    "l": 46.275
  },
  "oklch": {
    "l": 0.57409,
    "c": 0.07838,
    "h": 239.1
  },
  "luminance": 0.19243
}

Semantic roles & 50–950 ramp

primary
#4A7FA2
secondary
#BC9F8C
accent
#885BCD
background
#F8FAFB
surface
#EFF4F6
border
#CACED0
text
#0B0F12
muted
#7C7F81

Preview Lab

Preview with #4A7FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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