#4F7DD5#4F7DD5

#4F7DD5 is a mid, vivid blue. Relative luminance 0.211; OKLCH L 59.9% C 0.144 H 262.1°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#4F7DD5
RGBrgb(79, 125, 213)
HSLhsl(219, 61%, 57%)
HSVhsv(219, 63%, 84%)
CMYKcmyk(62.9%, 41.3%, 0%, 16.5%)
CIE-LABlab(53.09, 11.78, -49.99)
CIE-LCHlch(53.09, 51.36, 283.26°)
OKLaboklab(59.94% -0.0197 -0.1424)
OKLCHoklch(59.94% 0.144 262.1)
XYZxyz(22.5641, 21.1315, 65.8276)
Luminance0.2113 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7DD5 #D5A74F
analogous
#4FC0D5 #4F7DD5 #644FD5
triadic
#4F7DD5 #D54F7D #7DD54F
tetradic
#4F7DD5 #D54FC0 #D5A74F #4FD564
square
#4F7DD5 #D54FC0 #D5A74F #4FD564
split-complementary
#4F7DD5 #D5644F #C0D54F
monochromatic
#214489 #2C5DBA #4F7DD5 #80A1E1 #B2C6ED

Accessibility & contrast

On white

4.02
#4F7DD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#4F7DD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7DD5
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7DD5#FFFFFF#000000##000000
##4F7DD51.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5585D8
Deuteranopia (green-blind)
#4179D3
Tritanopia (blue-blind)
#00919F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4f7dd5;
/* rgb */ color: rgb(79, 125, 213);
/* oklch */ color: oklch(59.9% 0.144 262.1);
Tailwind
colors: {
  custom: {
    50: '#8ca2e2',
    500: '#4f7dd5',
    950: '#000000',
  },
}
SCSS
$custom: #4f7dd5;
$custom-light: #8ca2e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7dd5",
  "rgb": {
    "r": 79,
    "g": 125,
    "b": 213
  },
  "hsl": {
    "h": 219.403,
    "s": 61.468,
    "l": 57.255
  },
  "oklch": {
    "l": 0.59941,
    "c": 0.14374,
    "h": 262.1
  },
  "luminance": 0.21134
}

Semantic roles & 50–950 ramp

primary
#4F7DD5
secondary
#DBC8A5
accent
#AD43E5
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0F15
muted
#7E7E83

Preview Lab

Preview with #4F7DD5

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

Preview Lab → · Contrast checker → · Palette generator →

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