#4F7CD2#4F7CD2

#4F7CD2 is a mid, vivid blue. Relative luminance 0.207; OKLCH L 59.5% C 0.141 H 262.1°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#4F7CD2
RGBrgb(79, 124, 210)
HSLhsl(219, 59%, 57%)
HSVhsv(219, 62%, 82%)
CMYKcmyk(62.4%, 41%, 0%, 17.6%)
CIE-LABlab(52.65, 11.37, -48.99)
CIE-LCHlch(52.65, 50.30, 283.06°)
OKLaboklab(59.55% -0.0192 -0.1395)
OKLCHoklch(59.55% 0.141 262.1)
XYZxyz(22.0609, 20.7287, 63.7987)
Luminance0.2073 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7CD2 #D2A54F
analogous
#4FBED2 #4F7CD2 #644FD2
triadic
#4F7CD2 #D24F7C #7CD24F
tetradic
#4F7CD2 #D24FBE #D2A54F #4FD264
square
#4F7CD2 #D24FBE #D2A54F #4FD264
split-complementary
#4F7CD2 #D2644F #BED24F
monochromatic
#224485 #2E5DB5 #4F7CD2 #80A0DE #B0C5EB

Accessibility & contrast

On white

4.08
#4F7CD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#4F7CD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7CD2
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7CD2#FFFFFF#000000##000000
##4F7CD21.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5684D5
Deuteranopia (green-blind)
#4278D0
Tritanopia (blue-blind)
#008F9D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4f7cd2;
/* rgb */ color: rgb(79, 124, 210);
/* oklch */ color: oklch(59.5% 0.141 262.1);
Tailwind
colors: {
  custom: {
    50: '#8ca1e0',
    500: '#4f7cd2',
    950: '#000000',
  },
}
SCSS
$custom: #4f7cd2;
$custom-light: #8ca1e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7cd2",
  "rgb": {
    "r": 79,
    "g": 124,
    "b": 210
  },
  "hsl": {
    "h": 219.389,
    "s": 59.276,
    "l": 56.667
  },
  "oklch": {
    "l": 0.59546,
    "c": 0.14081,
    "h": 262.1
  },
  "luminance": 0.20731
}

Semantic roles & 50–950 ramp

primary
#4F7CD2
secondary
#D9C7A4
accent
#AC45E2
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4F7CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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