#4A7FB1#4A7FB1

#4A7FB1 is a mid, moderate cyan. Relative luminance 0.198; OKLCH L 58.1% C 0.096 H 248.5°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#4A7FB1
RGBrgb(74, 127, 177)
HSLhsl(209, 41%, 49%)
HSVhsv(209, 58%, 69%)
CMYKcmyk(58.2%, 28.2%, 0%, 30.6%)
CIE-LABlab(51.62, -2.50, -31.77)
CIE-LCHlch(51.62, 31.87, 265.51°)
OKLaboklab(58.14% -0.0352 -0.0893)
OKLCHoklch(58.14% 0.096 248.5)
XYZxyz(18.3464, 19.8073, 44.4428)
Luminance0.1981 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7FB1 #B17C4A
analogous
#4AB1B0 #4A7FB1 #4A4CB1
triadic
#4A7FB1 #B14A7F #7FB14A
tetradic
#4A7FB1 #B04AB1 #B17C4A #4CB14A
square
#4A7FB1 #B04AB1 #B17C4A #4CB14A
split-complementary
#4A7FB1 #B14A4C #B1B04A
monochromatic
#26415B #386086 #4A7FB1 #749DC5 #9FBCD7

Accessibility & contrast

On white

4.23
#4A7FB1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#4A7FB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7FB1
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7FB1#FFFFFF#000000##000000
##4A7FB11.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A81B3
Deuteranopia (green-blind)
#5C76B0
Tritanopia (blue-blind)
#008B90
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4a7fb1;
/* rgb */ color: rgb(74, 127, 177);
/* oklch */ color: oklch(58.1% 0.096 248.5);
Tailwind
colors: {
  custom: {
    50: '#85a3c8',
    500: '#4a7fb1',
    950: '#000000',
  },
}
SCSS
$custom: #4a7fb1;
$custom-light: #85a3c8;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7fb1",
  "rgb": {
    "r": 74,
    "g": 127,
    "b": 177
  },
  "hsl": {
    "h": 209.126,
    "s": 41.036,
    "l": 49.216
  },
  "oklch": {
    "l": 0.58136,
    "c": 0.09603,
    "h": 248.5
  },
  "luminance": 0.19809
}

Semantic roles & 50–950 ramp

primary
#4A7FB1
secondary
#C3AB93
accent
#9257D1
background
#F8FAFC
surface
#F0F3F8
border
#CBCDD1
text
#0C0F13
muted
#7D7F82

Preview Lab

Preview with #4A7FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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