#4F66DB#4F66DB

#4F66DB is a mid, vivid blue. Relative luminance 0.163; OKLCH L 55.7% C 0.180 H 271.0°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#4F66DB
RGBrgb(79, 102, 219)
HSLhsl(230, 66%, 58%)
HSVhsv(230, 64%, 86%)
CMYKcmyk(63.9%, 53.4%, 0%, 14.1%)
CIE-LABlab(47.34, 28.10, -62.63)
CIE-LCHlch(47.34, 68.65, 294.17°)
OKLaboklab(55.67% 0.0033 -0.1799)
OKLCHoklch(55.67% 0.18 271)
XYZxyz(20.7577, 16.2776, 69.0521)
Luminance0.1628 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F66DB #DBC44F
analogous
#4FACDB #4F66DB #7E4FDB
triadic
#4F66DB #DB4F66 #66DB4F
tetradic
#4F66DB #DB4FAC #DBC44F #4FDB7E
square
#4F66DB #DB4FAC #DBC44F #4FDB7E
split-complementary
#4F66DB #DB7E4F #ACDB4F
monochromatic
#1E3192 #2842C5 #4F66DB #8292E5 #B5BEF0

Accessibility & contrast

On white

4.93
#4F66DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#4F66DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F66DB
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F66DB#FFFFFF#000000##FFFFFF
##4F66DB1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1377DF
Deuteranopia (green-blind)
#006AD9
Tritanopia (blue-blind)
#008297
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4f66db;
/* rgb */ color: rgb(79, 102, 219);
/* oklch */ color: oklch(55.7% 0.180 271.0);
Tailwind
colors: {
  custom: {
    50: '#8e91e7',
    500: '#4f66db',
    950: '#000000',
  },
}
SCSS
$custom: #4f66db;
$custom-light: #8e91e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4f66db",
  "rgb": {
    "r": 79,
    "g": 102,
    "b": 219
  },
  "hsl": {
    "h": 230.143,
    "s": 66.038,
    "l": 58.431
  },
  "oklch": {
    "l": 0.55669,
    "c": 0.1799,
    "h": 271
  },
  "luminance": 0.16279
}

Semantic roles & 50–950 ramp

primary
#4F66DB
secondary
#DFD6A7
accent
#CD3FE9
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #4F66DB

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

Preview Lab → · Contrast checker → · Palette generator →

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