#4F66D4#4F66D4

#4F66D4 is a mid, vivid blue. Relative luminance 0.159; OKLCH L 55.2% C 0.170 H 270.9°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#4F66D4
RGBrgb(79, 102, 212)
HSLhsl(230, 61%, 57%)
HSVhsv(230, 63%, 83%)
CMYKcmyk(62.7%, 51.9%, 0%, 16.9%)
CIE-LABlab(46.87, 25.71, -59.41)
CIE-LCHlch(46.87, 64.73, 293.40°)
OKLaboklab(55.16% 0.0028 -0.1704)
OKLCHoklch(55.16% 0.17 270.9)
XYZxyz(19.8555, 15.9168, 64.3005)
Luminance0.1592 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F66D4 #D4BD4F
analogous
#4FA9D4 #4F66D4 #7B4FD4
triadic
#4F66D4 #D44F66 #66D44F
tetradic
#4F66D4 #D44FA9 #D4BD4F #4FD47B
square
#4F66D4 #D44FA9 #D4BD4F #4FD47B
split-complementary
#4F66D4 #D47B4F #A9D44F
monochromatic
#213387 #2D45B9 #4F66D4 #8091E0 #B1BCEC

Accessibility & contrast

On white

5.02
#4F66D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#4F66D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F66D4
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F66D4#FFFFFF#000000##FFFFFF
##4F66D41.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2375D8
Deuteranopia (green-blind)
#0069D2
Tritanopia (blue-blind)
#008093
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4f66d4;
/* rgb */ color: rgb(79, 102, 212);
/* oklch */ color: oklch(55.2% 0.170 270.9);
Tailwind
colors: {
  custom: {
    50: '#8d91e2',
    500: '#4f66d4',
    950: '#000000',
  },
}
SCSS
$custom: #4f66d4;
$custom-light: #8d91e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f66d4",
  "rgb": {
    "r": 79,
    "g": 102,
    "b": 212
  },
  "hsl": {
    "h": 229.624,
    "s": 60.731,
    "l": 57.059
  },
  "oklch": {
    "l": 0.55164,
    "c": 0.1704,
    "h": 270.9
  },
  "luminance": 0.15918
}

Semantic roles & 50–950 ramp

primary
#4F66D4
secondary
#DAD1A4
accent
#C844E4
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4F66D4

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

Preview Lab → · Contrast checker → · Palette generator →

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