#4F7DC2#4F7DC2

#4F7DC2 is a mid, moderate blue. Relative luminance 0.202; OKLCH L 58.8% C 0.118 H 258.3°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#4F7DC2
RGBrgb(79, 125, 194)
HSLhsl(216, 49%, 54%)
HSVhsv(216, 59%, 76%)
CMYKcmyk(59.3%, 35.6%, 0%, 23.9%)
CIE-LABlab(52.09, 5.35, -40.78)
CIE-LCHlch(52.09, 41.13, 277.48°)
OKLaboklab(58.83% -0.0239 -0.1154)
OKLCHoklch(58.83% 0.118 258.3)
XYZxyz(20.2922, 20.2228, 53.8625)
Luminance0.2023 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7DC2 #C2944F
analogous
#4FB6C2 #4F7DC2 #5A4FC2
triadic
#4F7DC2 #C24F7D #7DC24F
tetradic
#4F7DC2 #C24FB6 #C2944F #4FC25A
square
#4F7DC2 #C24FB6 #C2944F #4FC25A
split-complementary
#4F7DC2 #C25A4F #B6C24F
monochromatic
#274470 #37609D #4F7DC2 #7C9FD2 #AAC0E2

Accessibility & contrast

On white

4.16
#4F7DC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#4F7DC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7DC2
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7DC2#FFFFFF#000000##000000
##4F7DC21.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6082C5
Deuteranopia (green-blind)
#5177C1
Tritanopia (blue-blind)
#008D96
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4f7dc2;
/* rgb */ color: rgb(79, 125, 194);
/* oklch */ color: oklch(58.8% 0.118 258.3);
Tailwind
colors: {
  custom: {
    50: '#89a2d5',
    500: '#4f7dc2',
    950: '#000000',
  },
}
SCSS
$custom: #4f7dc2;
$custom-light: #89a2d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7dc2",
  "rgb": {
    "r": 79,
    "g": 125,
    "b": 194
  },
  "hsl": {
    "h": 216,
    "s": 48.523,
    "l": 53.529
  },
  "oklch": {
    "l": 0.58834,
    "c": 0.11791,
    "h": 258.3
  },
  "luminance": 0.20225
}

Semantic roles & 50–950 ramp

primary
#4F7DC2
secondary
#CFBB9E
accent
#A250D8
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0F14
muted
#7D7E83

Preview Lab

Preview with #4F7DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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