#4F7EC2#4F7EC2

#4F7EC2 is a mid, moderate blue. Relative luminance 0.205; OKLCH L 59.1% C 0.117 H 257.6°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#4F7EC2
RGBrgb(79, 126, 194)
HSLhsl(215, 49%, 54%)
HSVhsv(215, 59%, 76%)
CMYKcmyk(59.3%, 35.1%, 0%, 23.9%)
CIE-LABlab(52.37, 4.75, -40.33)
CIE-LCHlch(52.37, 40.61, 276.72°)
OKLaboklab(59.06% -0.025 -0.1141)
OKLCHoklch(59.06% 0.117 257.6)
XYZxyz(20.4195, 20.4772, 53.9049)
Luminance0.2048 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7EC2 #C2934F
analogous
#4FB7C2 #4F7EC2 #594FC2
triadic
#4F7EC2 #C24F7E #7EC24F
tetradic
#4F7EC2 #C24FB7 #C2934F #4FC259
square
#4F7EC2 #C24FB7 #C2934F #4FC259
split-complementary
#4F7EC2 #C2594F #B7C24F
monochromatic
#274570 #37619D #4F7EC2 #7C9FD2 #AAC1E2

Accessibility & contrast

On white

4.12
#4F7EC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#4F7EC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7EC2
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7EC2#FFFFFF#000000##000000
##4F7EC21.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6283C5
Deuteranopia (green-blind)
#5278C1
Tritanopia (blue-blind)
#008D97
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4f7ec2;
/* rgb */ color: rgb(79, 126, 194);
/* oklch */ color: oklch(59.1% 0.117 257.6);
Tailwind
colors: {
  custom: {
    50: '#89a3d5',
    500: '#4f7ec2',
    950: '#000000',
  },
}
SCSS
$custom: #4f7ec2;
$custom-light: #89a3d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7ec2",
  "rgb": {
    "r": 79,
    "g": 126,
    "b": 194
  },
  "hsl": {
    "h": 215.478,
    "s": 48.523,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59056,
    "c": 0.11684,
    "h": 257.6
  },
  "luminance": 0.20479
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4F7EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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