#4A7FBC#4A7FBC

#4A7FBC is a mid, moderate cyan. Relative luminance 0.203; OKLCH L 58.7% C 0.110 H 253.1°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#4A7FBC
RGBrgb(74, 127, 188)
HSLhsl(212, 46%, 51%)
HSVhsv(212, 61%, 74%)
CMYKcmyk(60.6%, 32.4%, 0%, 26.3%)
CIE-LABlab(52.13, 1.15, -37.29)
CIE-LCHlch(52.13, 37.31, 271.77°)
OKLaboklab(58.71% -0.0319 -0.1053)
OKLCHoklch(58.71% 0.11 253.1)
XYZxyz(19.4872, 20.2637, 50.4515)
Luminance0.2026 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7FBC #BC874A
analogous
#4AB8BC #4A7FBC #4E4ABC
triadic
#4A7FBC #BC4A7F #7FBC4A
tetradic
#4A7FBC #BC4AB8 #BC874A #4ABC4E
square
#4A7FBC #BC4AB8 #BC874A #4ABC4E
split-complementary
#4A7FBC #BC4E4A #B8BC4A
monochromatic
#264466 #366193 #4A7FBC #779FCD #A3BEDD

Accessibility & contrast

On white

4.16
#4A7FBC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#4A7FBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7FBC
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7FBC#FFFFFF#000000##000000
##4A7FBC1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6582BF
Deuteranopia (green-blind)
#5677BB
Tritanopia (blue-blind)
#008D95
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4a7fbc;
/* rgb */ color: rgb(74, 127, 188);
/* oklch */ color: oklch(58.7% 0.110 253.1);
Tailwind
colors: {
  custom: {
    50: '#86a3d0',
    500: '#4a7fbc',
    950: '#000000',
  },
}
SCSS
$custom: #4a7fbc;
$custom-light: #86a3d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7fbc",
  "rgb": {
    "r": 74,
    "g": 127,
    "b": 188
  },
  "hsl": {
    "h": 212.105,
    "s": 45.968,
    "l": 51.373
  },
  "oklch": {
    "l": 0.5871,
    "c": 0.11007,
    "h": 253.1
  },
  "luminance": 0.20265
}

Semantic roles & 50–950 ramp

primary
#4A7FBC
secondary
#CAB398
accent
#9952D6
background
#F8FAFC
surface
#F0F3F9
border
#CBCDD2
text
#0C0F14
muted
#7D7F82

Preview Lab

Preview with #4A7FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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