#4A7FCD#4A7FCD

#4A7FCD is a mid, vivid blue. Relative luminance 0.210; OKLCH L 59.7% C 0.133 H 258.0°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#4A7FCD
RGBrgb(74, 127, 205)
HSLhsl(216, 57%, 55%)
HSVhsv(216, 64%, 80%)
CMYKcmyk(63.9%, 38%, 0%, 19.6%)
CIE-LABlab(52.99, 6.93, -45.63)
CIE-LCHlch(52.99, 46.15, 278.63°)
OKLaboklab(59.66% -0.0276 -0.1297)
OKLCHoklch(59.66% 0.133 258)
XYZxyz(21.4289, 21.0403, 60.6777)
Luminance0.2104 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7FCD #CD984A
analogous
#4AC1CD #4A7FCD #564ACD
triadic
#4A7FCD #CD4A7F #7FCD4A
tetradic
#4A7FCD #CD4AC1 #CD984A #4ACD56
square
#4A7FCD #CD4AC1 #CD984A #4ACD56
split-complementary
#4A7FCD #CD564A #C1CD4A
monochromatic
#22467B #2F61AB #4A7FCD #7AA1DA #AAC3E7

Accessibility & contrast

On white

4.03
#4A7FCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#4A7FCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7FCD
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7FCD#FFFFFF#000000##000000
##4A7FCD1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D85D0
Deuteranopia (green-blind)
#4A79CB
Tritanopia (blue-blind)
#00919C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4a7fcd;
/* rgb */ color: rgb(74, 127, 205);
/* oklch */ color: oklch(59.7% 0.133 258.0);
Tailwind
colors: {
  custom: {
    50: '#89a3dc',
    500: '#4a7fcd',
    950: '#000000',
  },
}
SCSS
$custom: #4a7fcd;
$custom-light: #89a3dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7fcd",
  "rgb": {
    "r": 74,
    "g": 127,
    "b": 205
  },
  "hsl": {
    "h": 215.725,
    "s": 56.71,
    "l": 54.706
  },
  "oklch": {
    "l": 0.59662,
    "c": 0.13257,
    "h": 258
  },
  "luminance": 0.21042
}

Semantic roles & 50–950 ramp

primary
#4A7FCD
secondary
#D5BF9E
accent
#A248E0
background
#F8FAFD
surface
#F0F3FB
border
#CBCDD4
text
#0D0F15
muted
#7D7F83

Preview Lab

Preview with #4A7FCD

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

Preview Lab → · Contrast checker → · Palette generator →

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