#4F7CCD#4F7CCD

#4F7CCD is a mid, vivid blue. Relative luminance 0.205; OKLCH L 59.2% C 0.134 H 261.3°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#4F7CCD
RGBrgb(79, 124, 205)
HSLhsl(219, 56%, 56%)
HSVhsv(219, 61%, 80%)
CMYKcmyk(61.5%, 39.5%, 0%, 19.6%)
CIE-LABlab(52.38, 9.67, -46.59)
CIE-LCHlch(52.38, 47.58, 281.72°)
OKLaboklab(59.25% -0.0203 -0.1324)
OKLCHoklch(59.25% 0.134 261.3)
XYZxyz(21.4477, 20.4834, 60.5692)
Luminance0.2049 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7CCD #CDA04F
analogous
#4FBBCD #4F7CCD #614FCD
triadic
#4F7CCD #CD4F7C #7CCD4F
tetradic
#4F7CCD #CD4FBB #CDA04F #4FCD61
square
#4F7CCD #CD4FBB #CDA04F #4FCD61
split-complementary
#4F7CCD #CD614F #BBCD4F
monochromatic
#24447E #315EAE #4F7CCD #7F9FDB #AEC3E8

Accessibility & contrast

On white

4.12
#4F7CCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#4F7CCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7CCD
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7CCD#FFFFFF#000000##000000
##4F7CCD1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5983D0
Deuteranopia (green-blind)
#4778CB
Tritanopia (blue-blind)
#008E9A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4f7ccd;
/* rgb */ color: rgb(79, 124, 205);
/* oklch */ color: oklch(59.2% 0.134 261.3);
Tailwind
colors: {
  custom: {
    50: '#8ba1dd',
    500: '#4f7ccd',
    950: '#000000',
  },
}
SCSS
$custom: #4f7ccd;
$custom-light: #8ba1dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7ccd",
  "rgb": {
    "r": 79,
    "g": 124,
    "b": 205
  },
  "hsl": {
    "h": 218.571,
    "s": 55.752,
    "l": 55.686
  },
  "oklch": {
    "l": 0.59247,
    "c": 0.13399,
    "h": 261.3
  },
  "luminance": 0.20485
}

Semantic roles & 50–950 ramp

primary
#4F7CCD
secondary
#D6C3A2
accent
#A949DF
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4F7CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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