#4A7FBF#4A7FBF

#4A7FBF is a mid, moderate cyan. Relative luminance 0.204; OKLCH L 58.9% C 0.114 H 254.2°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#4A7FBF
RGBrgb(74, 127, 191)
HSLhsl(213, 48%, 52%)
HSVhsv(213, 61%, 75%)
CMYKcmyk(61.3%, 33.5%, 0%, 25.1%)
CIE-LABlab(52.28, 2.16, -38.78)
CIE-LCHlch(52.28, 38.84, 273.19°)
OKLaboklab(58.87% -0.0311 -0.1097)
OKLCHoklch(58.87% 0.114 254.2)
XYZxyz(19.8140, 20.3944, 52.1724)
Luminance0.2040 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7FBF #BF8A4A
analogous
#4AB9BF #4A7FBF #504ABF
triadic
#4A7FBF #BF4A7F #7FBF4A
tetradic
#4A7FBF #BF4AB9 #BF8A4A #4ABF50
square
#4A7FBF #BF4AB9 #BF8A4A #4ABF50
split-complementary
#4A7FBF #BF504A #B9BF4A
monochromatic
#254469 #356197 #4A7FBF #779FCF #A4BFDF

Accessibility & contrast

On white

4.13
#4A7FBF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#4A7FBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7FBF
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7FBF#FFFFFF#000000##000000
##4A7FBF1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6483C2
Deuteranopia (green-blind)
#5478BE
Tritanopia (blue-blind)
#008E96
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4a7fbf;
/* rgb */ color: rgb(74, 127, 191);
/* oklch */ color: oklch(58.9% 0.114 254.2);
Tailwind
colors: {
  custom: {
    50: '#87a3d2',
    500: '#4a7fbf',
    950: '#000000',
  },
}
SCSS
$custom: #4a7fbf;
$custom-light: #87a3d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7fbf",
  "rgb": {
    "r": 74,
    "g": 127,
    "b": 191
  },
  "hsl": {
    "h": 212.821,
    "s": 47.755,
    "l": 51.961
  },
  "oklch": {
    "l": 0.58872,
    "c": 0.114,
    "h": 254.2
  },
  "luminance": 0.20396
}

Semantic roles & 50–950 ramp

primary
#4A7FBF
secondary
#CCB599
accent
#9A50D7
background
#F8FAFC
surface
#F0F3F9
border
#CBCDD2
text
#0C0F14
muted
#7D7F82

Preview Lab

Preview with #4A7FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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