#4F7FC2#4F7FC2

#4F7FC2 is a mid, moderate cyan. Relative luminance 0.207; OKLCH L 59.3% C 0.116 H 257.0°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#4F7FC2
RGBrgb(79, 127, 194)
HSLhsl(215, 49%, 54%)
HSVhsv(215, 59%, 76%)
CMYKcmyk(59.3%, 34.5%, 0%, 23.9%)
CIE-LABlab(52.66, 4.15, -39.88)
CIE-LCHlch(52.66, 40.10, 275.94°)
OKLaboklab(59.28% -0.0261 -0.1128)
OKLCHoklch(59.28% 0.116 257)
XYZxyz(20.5480, 20.7343, 53.9477)
Luminance0.2074 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7FC2 #C2924F
analogous
#4FB8C2 #4F7FC2 #584FC2
triadic
#4F7FC2 #C24F7F #7FC24F
tetradic
#4F7FC2 #C24FB8 #C2924F #4FC258
square
#4F7FC2 #C24FB8 #C2924F #4FC258
split-complementary
#4F7FC2 #C2584F #B8C24F
monochromatic
#274570 #37619D #4F7FC2 #7CA0D2 #AAC1E2

Accessibility & contrast

On white

4.08
#4F7FC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#4F7FC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7FC2
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7FC2#FFFFFF#000000##000000
##4F7FC21.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6384C5
Deuteranopia (green-blind)
#5479C1
Tritanopia (blue-blind)
#008E97
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4f7fc2;
/* rgb */ color: rgb(79, 127, 194);
/* oklch */ color: oklch(59.3% 0.116 257.0);
Tailwind
colors: {
  custom: {
    50: '#89a3d5',
    500: '#4f7fc2',
    950: '#000000',
  },
}
SCSS
$custom: #4f7fc2;
$custom-light: #89a3d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7fc2",
  "rgb": {
    "r": 79,
    "g": 127,
    "b": 194
  },
  "hsl": {
    "h": 214.957,
    "s": 48.523,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59278,
    "c": 0.1158,
    "h": 257
  },
  "luminance": 0.20736
}

Semantic roles & 50–950 ramp

primary
#4F7FC2
secondary
#CFBA9E
accent
#9F50D8
background
#F8FAFD
surface
#F0F3FA
border
#CBCDD3
text
#0C0F14
muted
#7D7F83

Preview Lab

Preview with #4F7FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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