#4F7EC0#4F7EC0

#4F7EC0 is a mid, moderate blue. Relative luminance 0.204; OKLCH L 58.9% C 0.114 H 257.1°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#4F7EC0
RGBrgb(79, 126, 192)
HSLhsl(215, 47%, 53%)
HSVhsv(215, 59%, 75%)
CMYKcmyk(58.9%, 34.4%, 0%, 24.7%)
CIE-LABlab(52.27, 4.08, -39.35)
CIE-LCHlch(52.27, 39.56, 275.93°)
OKLaboklab(58.95% -0.0256 -0.1112)
OKLCHoklch(58.95% 0.114 257.1)
XYZxyz(20.1964, 20.3880, 52.7299)
Luminance0.2039 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7EC0 #C0914F
analogous
#4FB6C0 #4F7EC0 #584FC0
triadic
#4F7EC0 #C04F7E #7EC04F
tetradic
#4F7EC0 #C04FB6 #C0914F #4FC058
square
#4F7EC0 #C04FB6 #C0914F #4FC058
split-complementary
#4F7EC0 #C0584F #B6C04F
monochromatic
#27446D #37619A #4F7EC0 #7C9FD0 #A9C0E0

Accessibility & contrast

On white

4.14
#4F7EC0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#4F7EC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7EC0
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7EC0#FFFFFF#000000##000000
##4F7EC01.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6383C3
Deuteranopia (green-blind)
#5478BF
Tritanopia (blue-blind)
#008D96
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4f7ec0;
/* rgb */ color: rgb(79, 126, 192);
/* oklch */ color: oklch(58.9% 0.114 257.1);
Tailwind
colors: {
  custom: {
    50: '#89a3d3',
    500: '#4f7ec0',
    950: '#000000',
  },
}
SCSS
$custom: #4f7ec0;
$custom-light: #89a3d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7ec0",
  "rgb": {
    "r": 79,
    "g": 126,
    "b": 192
  },
  "hsl": {
    "h": 215.044,
    "s": 47.28,
    "l": 53.137
  },
  "oklch": {
    "l": 0.58945,
    "c": 0.11415,
    "h": 257.1
  },
  "luminance": 0.2039
}

Semantic roles & 50–950 ramp

primary
#4F7EC0
secondary
#CEB99D
accent
#9F51D7
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0F14
muted
#7D7E83

Preview Lab

Preview with #4F7EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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