#4A7FBB#4A7FBB

#4A7FBB is a mid, moderate cyan. Relative luminance 0.202; OKLCH L 58.7% C 0.109 H 252.8°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#4A7FBB
RGBrgb(74, 127, 187)
HSLhsl(212, 45%, 51%)
HSVhsv(212, 60%, 73%)
CMYKcmyk(60.4%, 32.1%, 0%, 26.7%)
CIE-LABlab(52.09, 0.82, -36.79)
CIE-LCHlch(52.09, 36.80, 271.27°)
OKLaboklab(58.66% -0.0322 -0.1039)
OKLCHoklch(58.66% 0.109 252.8)
XYZxyz(19.3798, 20.2207, 49.8858)
Luminance0.2022 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7FBB #BB864A
analogous
#4AB8BB #4A7FBB #4D4ABB
triadic
#4A7FBB #BB4A7F #7FBB4A
tetradic
#4A7FBB #BB4AB8 #BB864A #4ABB4D
square
#4A7FBB #BB4AB8 #BB864A #4ABB4D
split-complementary
#4A7FBB #BB4D4A #B8BB4A
monochromatic
#264365 #376191 #4A7FBB #769ECC #A3BEDC

Accessibility & contrast

On white

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

On black

5.04
#4A7FBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7FBB
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7FBB#FFFFFF#000000##000000
##4A7FBB1.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6682BE
Deuteranopia (green-blind)
#5777BA
Tritanopia (blue-blind)
#008D94
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4a7fbb;
/* rgb */ color: rgb(74, 127, 187);
/* oklch */ color: oklch(58.7% 0.109 252.8);
Tailwind
colors: {
  custom: {
    50: '#86a3cf',
    500: '#4a7fbb',
    950: '#000000',
  },
}
SCSS
$custom: #4a7fbb;
$custom-light: #86a3cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7fbb",
  "rgb": {
    "r": 74,
    "g": 127,
    "b": 187
  },
  "hsl": {
    "h": 211.858,
    "s": 45.382,
    "l": 51.176
  },
  "oklch": {
    "l": 0.58656,
    "c": 0.10877,
    "h": 252.8
  },
  "luminance": 0.20222
}

Semantic roles & 50–950 ramp

primary
#4A7FBB
secondary
#C9B297
accent
#9853D5
background
#F8FAFC
surface
#F0F3F9
border
#CBCDD2
text
#0C0F14
muted
#7D7F82

Preview Lab

Preview with #4A7FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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