#4F7CD1#4F7CD1

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

Color values

HEX#4F7CD1
RGBrgb(79, 124, 209)
HSLhsl(219, 59%, 56%)
HSVhsv(219, 62%, 82%)
CMYKcmyk(62.2%, 40.7%, 0%, 18%)
CIE-LABlab(52.60, 11.03, -48.51)
CIE-LCHlch(52.60, 49.75, 282.80°)
OKLaboklab(59.49% -0.0194 -0.1381)
OKLCHoklch(59.49% 0.139 262)
XYZxyz(21.9367, 20.6790, 63.1446)
Luminance0.2068 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7CD1 #D1A44F
analogous
#4FBDD1 #4F7CD1 #634FD1
triadic
#4F7CD1 #D14F7C #7CD14F
tetradic
#4F7CD1 #D14FBD #D1A44F #4FD163
square
#4F7CD1 #D14FBD #D1A44F #4FD163
split-complementary
#4F7CD1 #D1634F #BDD14F
monochromatic
#224483 #2F5DB4 #4F7CD1 #80A0DE #B0C4EA

Accessibility & contrast

On white

4.09
#4F7CD1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#4F7CD1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7CD1
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7CD1#FFFFFF#000000##000000
##4F7CD11.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5684D4
Deuteranopia (green-blind)
#4378CF
Tritanopia (blue-blind)
#008F9C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4f7cd1;
/* rgb */ color: rgb(79, 124, 209);
/* oklch */ color: oklch(59.5% 0.139 262.0);
Tailwind
colors: {
  custom: {
    50: '#8ca1df',
    500: '#4f7cd1',
    950: '#000000',
  },
}
SCSS
$custom: #4f7cd1;
$custom-light: #8ca1df;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7cd1",
  "rgb": {
    "r": 79,
    "g": 124,
    "b": 209
  },
  "hsl": {
    "h": 219.231,
    "s": 58.559,
    "l": 56.471
  },
  "oklch": {
    "l": 0.59486,
    "c": 0.13944,
    "h": 262
  },
  "luminance": 0.20681
}

Semantic roles & 50–950 ramp

primary
#4F7CD1
secondary
#D9C6A3
accent
#AC46E2
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4F7CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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