#4F7FC3#4F7FC3

#4F7FC3 is a mid, moderate blue. Relative luminance 0.208; OKLCH L 59.3% C 0.117 H 257.2°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#4F7FC3
RGBrgb(79, 127, 195)
HSLhsl(215, 49%, 54%)
HSVhsv(215, 59%, 76%)
CMYKcmyk(59.5%, 34.9%, 0%, 23.5%)
CIE-LABlab(52.71, 4.48, -40.38)
CIE-LCHlch(52.71, 40.62, 276.34°)
OKLaboklab(59.33% -0.0259 -0.1142)
OKLCHoklch(59.33% 0.117 257.2)
XYZxyz(20.6607, 20.7793, 54.5412)
Luminance0.2078 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7FC3 #C3934F
analogous
#4FB9C3 #4F7FC3 #594FC3
triadic
#4F7FC3 #C34F7F #7FC34F
tetradic
#4F7FC3 #C34FB9 #C3934F #4FC359
square
#4F7FC3 #C34FB9 #C3934F #4FC359
split-complementary
#4F7FC3 #C3594F #B9C34F
monochromatic
#274571 #36619F #4F7FC3 #7DA0D3 #AAC1E2

Accessibility & contrast

On white

4.07
#4F7FC3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#4F7FC3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7FC3
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7FC3#FFFFFF#000000##000000
##4F7FC31.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6384C6
Deuteranopia (green-blind)
#5379C2
Tritanopia (blue-blind)
#008E98
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4f7fc3;
/* rgb */ color: rgb(79, 127, 195);
/* oklch */ color: oklch(59.3% 0.117 257.2);
Tailwind
colors: {
  custom: {
    50: '#8aa3d5',
    500: '#4f7fc3',
    950: '#000000',
  },
}
SCSS
$custom: #4f7fc3;
$custom-light: #8aa3d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7fc3",
  "rgb": {
    "r": 79,
    "g": 127,
    "b": 195
  },
  "hsl": {
    "h": 215.172,
    "s": 49.153,
    "l": 53.725
  },
  "oklch": {
    "l": 0.59333,
    "c": 0.11714,
    "h": 257.2
  },
  "luminance": 0.20781
}

Semantic roles & 50–950 ramp

primary
#4F7FC3
secondary
#D0BB9E
accent
#A04FD9
background
#F8FAFD
surface
#F0F3FA
border
#CBCDD3
text
#0C0F14
muted
#7D7F83

Preview Lab

Preview with #4F7FC3

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

Preview Lab → · Contrast checker → · Palette generator →

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