#4F7FCA#4F7FCA

#4F7FCA is a mid, vivid blue. Relative luminance 0.211; OKLCH L 59.7% C 0.127 H 259.0°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#4F7FCA
RGBrgb(79, 127, 202)
HSLhsl(217, 54%, 55%)
HSVhsv(217, 61%, 79%)
CMYKcmyk(60.9%, 37.1%, 0%, 20.8%)
CIE-LABlab(53.06, 6.83, -43.80)
CIE-LCHlch(53.06, 44.33, 278.86°)
OKLaboklab(59.73% -0.0241 -0.1242)
OKLCHoklch(59.73% 0.127 259)
XYZxyz(21.4707, 21.1034, 58.8075)
Luminance0.2110 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7FCA #CA9A4F
analogous
#4FBDCA #4F7FCA #5C4FCA
triadic
#4F7FCA #CA4F7F #7FCA4F
tetradic
#4F7FCA #CA4FBD #CA9A4F #4FCA5C
square
#4F7FCA #CA4FBD #CA9A4F #4FCA5C
split-complementary
#4F7FCA #CA5C4F #BDCA4F
monochromatic
#25467A #3361A9 #4F7FCA #7EA1D8 #ADC3E6

Accessibility & contrast

On white

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

On black

5.22
#4F7FCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7FCA
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7FCA#FFFFFF#000000##000000
##4F7FCA1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F85CD
Deuteranopia (green-blind)
#4E79C8
Tritanopia (blue-blind)
#00909B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4f7fca;
/* rgb */ color: rgb(79, 127, 202);
/* oklch */ color: oklch(59.7% 0.127 259.0);
Tailwind
colors: {
  custom: {
    50: '#8ba3da',
    500: '#4f7fca',
    950: '#000000',
  },
}
SCSS
$custom: #4f7fca;
$custom-light: #8ba3da;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7fca",
  "rgb": {
    "r": 79,
    "g": 127,
    "b": 202
  },
  "hsl": {
    "h": 216.585,
    "s": 53.712,
    "l": 55.098
  },
  "oklch": {
    "l": 0.59726,
    "c": 0.12657,
    "h": 259
  },
  "luminance": 0.21105
}

Semantic roles & 50–950 ramp

primary
#4F7FCA
secondary
#D4C0A1
accent
#A44BDD
background
#F9FAFD
surface
#F1F3FB
border
#CBCDD4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #4F7FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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