#4F74DB#4F74DB

#4F74DB is a mid, vivid blue. Relative luminance 0.193; OKLCH L 58.4% C 0.163 H 266.5°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#4F74DB
RGBrgb(79, 116, 219)
HSLhsl(224, 66%, 58%)
HSVhsv(224, 64%, 86%)
CMYKcmyk(63.9%, 47%, 0%, 14.1%)
CIE-LABlab(51.00, 19.38, -56.73)
CIE-LCHlch(51.00, 59.95, 288.86°)
OKLaboklab(58.44% -0.0098 -0.1623)
OKLCHoklch(58.44% 0.163 266.5)
XYZxyz(22.2516, 19.2655, 69.5501)
Luminance0.1927 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F74DB #DBB64F
analogous
#4FBADB #4F74DB #704FDB
triadic
#4F74DB #DB4F74 #74DB4F
tetradic
#4F74DB #DB4FBA #DBB64F #4FDB70
square
#4F74DB #DB4FBA #DBB64F #4FDB70
split-complementary
#4F74DB #DB704F #BADB4F
monochromatic
#1E3C92 #2852C5 #4F74DB #829CE5 #B5C4F0

Accessibility & contrast

On white

4.33
#4F74DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#4F74DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F74DB
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F74DB#FFFFFF#000000##000000
##4F74DB1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4080DF
Deuteranopia (green-blind)
#2473D9
Tritanopia (blue-blind)
#008C9D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4f74db;
/* rgb */ color: rgb(79, 116, 219);
/* oklch */ color: oklch(58.4% 0.163 266.5);
Tailwind
colors: {
  custom: {
    50: '#8e9be7',
    500: '#4f74db',
    950: '#000000',
  },
}
SCSS
$custom: #4f74db;
$custom-light: #8e9be7;
$custom-dark: #000000;
JSON
{
  "hex": "#4f74db",
  "rgb": {
    "r": 79,
    "g": 116,
    "b": 219
  },
  "hsl": {
    "h": 224.143,
    "s": 66.038,
    "l": 58.431
  },
  "oklch": {
    "l": 0.58443,
    "c": 0.16262,
    "h": 266.5
  },
  "luminance": 0.19268
}

Semantic roles & 50–950 ramp

primary
#4F74DB
secondary
#DFD0A7
accent
#BC3FE9
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4F74DB

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

Preview Lab → · Contrast checker → · Palette generator →

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