#4F74F0#4F74F0

#4F74F0 is a mid, vivid blue. Relative luminance 0.204; OKLCH L 59.9% C 0.191 H 267.8°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#4F74F0
RGBrgb(79, 116, 240)
HSLhsl(226, 84%, 63%)
HSVhsv(226, 67%, 94%)
CMYKcmyk(67.1%, 51.7%, 0%, 5.9%)
CIE-LABlab(52.33, 26.64, -66.37)
CIE-LCHlch(52.33, 71.51, 291.87°)
OKLaboklab(59.89% -0.0075 -0.1907)
OKLCHoklch(59.89% 0.191 267.8)
XYZxyz(25.1926, 20.4419, 85.0392)
Luminance0.2044 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F74F0 #F0CB4F
analogous
#4FC5F0 #4F74F0 #7A4FF0
triadic
#4F74F0 #F04F74 #74F04F
tetradic
#4F74F0 #F04FC5 #F0CB4F #4FF07A
square
#4F74F0 #F04FC5 #F0CB4F #4FF07A
split-complementary
#4F74F0 #F07A4F #C5F04F
monochromatic
#0F36B5 #1747EB #4F74F0 #87A1F5 #C0CDFA

Accessibility & contrast

On white

4.13
#4F74F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#4F74F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F74F0
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F74F0#FFFFFF#000000##000000
##4F74F01.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2485F4
Deuteranopia (green-blind)
#0076ED
Tritanopia (blue-blind)
#0091A7
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4f74f0;
/* rgb */ color: rgb(79, 116, 240);
/* oklch */ color: oklch(59.9% 0.191 267.8);
Tailwind
colors: {
  custom: {
    50: '#919bf6',
    500: '#4f74f0',
    950: '#000000',
  },
}
SCSS
$custom: #4f74f0;
$custom-light: #919bf6;
$custom-dark: #000000;
JSON
{
  "hex": "#4f74f0",
  "rgb": {
    "r": 79,
    "g": 116,
    "b": 240
  },
  "hsl": {
    "h": 226.211,
    "s": 84.293,
    "l": 62.549
  },
  "oklch": {
    "l": 0.59887,
    "c": 0.19083,
    "h": 267.8
  },
  "luminance": 0.20444
}

Semantic roles & 50–950 ramp

primary
#4F74F0
secondary
#EBDDB0
accent
#AE05E1
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4F74F0

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

Preview Lab → · Contrast checker → · Palette generator →

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