#4F6FE4#4F6FE4

#4F6FE4 is a mid, vivid blue. Relative luminance 0.186; OKLCH L 58.1% C 0.181 H 268.7°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#4F6FE4
RGBrgb(79, 111, 228)
HSLhsl(227, 73%, 60%)
HSVhsv(227, 65%, 89%)
CMYKcmyk(65.4%, 51.3%, 0%, 10.6%)
CIE-LABlab(50.25, 25.59, -63.01)
CIE-LCHlch(50.25, 68.01, 292.11°)
OKLaboklab(58.06% -0.0041 -0.1809)
OKLCHoklch(58.06% 0.181 268.7)
XYZxyz(22.9077, 18.6305, 75.7726)
Luminance0.1863 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F6FE4 #E4C44F
analogous
#4FBAE4 #4F6FE4 #794FE4
triadic
#4F6FE4 #E44F6F #6FE44F
tetradic
#4F6FE4 #E44FBA #E4C44F #4FE479
square
#4F6FE4 #E44FBA #E4C44F #4FE479
split-complementary
#4F6FE4 #E4794F #BAE44F
monochromatic
#1936A0 #2147D5 #4F6FE4 #849AEC #B9C6F4

Accessibility & contrast

On white

4.44
#4F6FE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#4F6FE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F6FE4
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F6FE4#FFFFFF#000000##000000
##4F6FE41.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#277FE8
Deuteranopia (green-blind)
#0071E2
Tritanopia (blue-blind)
#008B9F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4f6fe4;
/* rgb */ color: rgb(79, 111, 228);
/* oklch */ color: oklch(58.1% 0.181 268.7);
Tailwind
colors: {
  custom: {
    50: '#8f97ed',
    500: '#4f6fe4',
    950: '#000000',
  },
}
SCSS
$custom: #4f6fe4;
$custom-light: #8f97ed;
$custom-dark: #000000;
JSON
{
  "hex": "#4f6fe4",
  "rgb": {
    "r": 79,
    "g": 111,
    "b": 228
  },
  "hsl": {
    "h": 227.114,
    "s": 73.399,
    "l": 60.196
  },
  "oklch": {
    "l": 0.5806,
    "c": 0.18091,
    "h": 268.7
  },
  "luminance": 0.18633
}

Semantic roles & 50–950 ramp

primary
#4F6FE4
secondary
#E4D8AB
accent
#AB10D6
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #4F6FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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