#4F7ECA#4F7ECA

#4F7ECA is a mid, vivid blue. Relative luminance 0.208; OKLCH L 59.5% C 0.128 H 259.6°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#4F7ECA
RGBrgb(79, 126, 202)
HSLhsl(217, 54%, 55%)
HSVhsv(217, 61%, 79%)
CMYKcmyk(60.9%, 37.6%, 0%, 20.8%)
CIE-LABlab(52.78, 7.44, -44.25)
CIE-LCHlch(52.78, 44.87, 279.54°)
OKLaboklab(59.51% -0.0231 -0.1256)
OKLCHoklch(59.51% 0.128 259.6)
XYZxyz(21.3422, 20.8463, 58.7647)
Luminance0.2085 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7ECA #CA9B4F
analogous
#4FBCCA #4F7ECA #5D4FCA
triadic
#4F7ECA #CA4F7E #7ECA4F
tetradic
#4F7ECA #CA4FBC #CA9B4F #4FCA5D
square
#4F7ECA #CA4FBC #CA9B4F #4FCA5D
split-complementary
#4F7ECA #CA5D4F #BCCA4F
monochromatic
#25457A #3360A9 #4F7ECA #7EA0D8 #ADC3E6

Accessibility & contrast

On white

4.06
#4F7ECA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#4F7ECA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7ECA
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7ECA#FFFFFF#000000##000000
##4F7ECA1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D84CD
Deuteranopia (green-blind)
#4D79C8
Tritanopia (blue-blind)
#008F9A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4f7eca;
/* rgb */ color: rgb(79, 126, 202);
/* oklch */ color: oklch(59.5% 0.128 259.6);
Tailwind
colors: {
  custom: {
    50: '#8ba3da',
    500: '#4f7eca',
    950: '#000000',
  },
}
SCSS
$custom: #4f7eca;
$custom-light: #8ba3da;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7eca",
  "rgb": {
    "r": 79,
    "g": 126,
    "b": 202
  },
  "hsl": {
    "h": 217.073,
    "s": 53.712,
    "l": 55.098
  },
  "oklch": {
    "l": 0.59507,
    "c": 0.12766,
    "h": 259.6
  },
  "luminance": 0.20848
}

Semantic roles & 50–950 ramp

primary
#4F7ECA
secondary
#D4C0A1
accent
#A54BDD
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0F15
muted
#7E7E83

Preview Lab

Preview with #4F7ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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