#4F7CDC#4F7CDC

#4F7CDC is a mid, vivid blue. Relative luminance 0.212; OKLCH L 60.2% C 0.154 H 263.5°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#4F7CDC
RGBrgb(79, 124, 220)
HSLhsl(221, 67%, 59%)
HSVhsv(221, 64%, 86%)
CMYKcmyk(64.1%, 43.6%, 0%, 13.7%)
CIE-LABlab(53.21, 14.80, -53.74)
CIE-LCHlch(53.21, 55.74, 285.39°)
OKLaboklab(60.16% -0.0174 -0.1534)
OKLCHoklch(60.16% 0.154 263.5)
XYZxyz(23.3459, 21.2427, 70.5662)
Luminance0.2124 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7CDC #DCAF4F
analogous
#4FC2DC #4F7CDC #684FDC
triadic
#4F7CDC #DC4F7C #7CDC4F
tetradic
#4F7CDC #DC4FC2 #DCAF4F #4FDC68
square
#4F7CDC #DC4FC2 #DCAF4F #4FDC68
split-complementary
#4F7CDC #DC684F #C2DC4F
monochromatic
#1D4393 #275AC6 #4F7CDC #82A2E6 #B5C8F0

Accessibility & contrast

On white

4.00
#4F7CDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#4F7CDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7CDC
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7CDC#FFFFFF#000000##000000
##4F7CDC1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F86E0
Deuteranopia (green-blind)
#3879DA
Tritanopia (blue-blind)
#0092A1
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4f7cdc;
/* rgb */ color: rgb(79, 124, 220);
/* oklch */ color: oklch(60.2% 0.154 263.5);
Tailwind
colors: {
  custom: {
    50: '#8da1e7',
    500: '#4f7cdc',
    950: '#000000',
  },
}
SCSS
$custom: #4f7cdc;
$custom-light: #8da1e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7cdc",
  "rgb": {
    "r": 79,
    "g": 124,
    "b": 220
  },
  "hsl": {
    "h": 220.851,
    "s": 66.825,
    "l": 58.627
  },
  "oklch": {
    "l": 0.60162,
    "c": 0.15441,
    "h": 263.5
  },
  "luminance": 0.21245
}

Semantic roles & 50–950 ramp

primary
#4F7CDC
secondary
#DFCDA8
accent
#B33EEA
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4F7CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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