#4F66E1#4F66E1

#4F66E1 is a mid, vivid blue. Relative luminance 0.166; OKLCH L 56.1% C 0.188 H 271.1°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#4F66E1
RGBrgb(79, 102, 225)
HSLhsl(231, 71%, 60%)
HSVhsv(231, 65%, 88%)
CMYKcmyk(64.9%, 54.7%, 0%, 11.8%)
CIE-LABlab(47.75, 30.15, -65.36)
CIE-LCHlch(47.75, 71.98, 294.77°)
OKLaboklab(56.11% 0.0036 -0.1879)
OKLCHoklch(56.11% 0.188 271.1)
XYZxyz(21.5618, 16.5993, 73.2873)
Luminance0.1660 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F66E1 #E1CA4F
analogous
#4FAFE1 #4F66E1 #814FE1
triadic
#4F66E1 #E14F66 #66E14F
tetradic
#4F66E1 #E14FAF #E1CA4F #4FE181
square
#4F66E1 #E14FAF #E1CA4F #4FE181
split-complementary
#4F66E1 #E1814F #AFE14F
monochromatic
#1A2F9B #233ECF #4F66E1 #8393EA #B8C1F3

Accessibility & contrast

On white

4.86
#4F66E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#4F66E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F66E1
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F66E1#FFFFFF#000000##FFFFFF
##4F66E11.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078E5
Deuteranopia (green-blind)
#006BDF
Tritanopia (blue-blind)
#00839A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4f66e1;
/* rgb */ color: rgb(79, 102, 225);
/* oklch */ color: oklch(56.1% 0.188 271.1);
Tailwind
colors: {
  custom: {
    50: '#8f91eb',
    500: '#4f66e1',
    950: '#000000',
  },
}
SCSS
$custom: #4f66e1;
$custom-light: #8f91eb;
$custom-dark: #000000;
JSON
{
  "hex": "#4f66e1",
  "rgb": {
    "r": 79,
    "g": 102,
    "b": 225
  },
  "hsl": {
    "h": 230.548,
    "s": 70.874,
    "l": 59.608
  },
  "oklch": {
    "l": 0.56112,
    "c": 0.18792,
    "h": 271.1
  },
  "luminance": 0.16601
}

Semantic roles & 50–950 ramp

primary
#4F66E1
secondary
#E2D9AA
accent
#D13AEE
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #4F66E1

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

Preview Lab → · Contrast checker → · Palette generator →

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