#4F74DF#4F74DF

#4F74DF is a mid, vivid blue. Relative luminance 0.195; OKLCH L 58.7% C 0.168 H 266.8°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#4F74DF
RGBrgb(79, 116, 223)
HSLhsl(225, 69%, 59%)
HSVhsv(225, 65%, 87%)
CMYKcmyk(64.6%, 48%, 0%, 12.5%)
CIE-LABlab(51.24, 20.76, -58.59)
CIE-LCHlch(51.24, 62.16, 289.51°)
OKLaboklab(58.71% -0.0093 -0.1678)
OKLCHoklch(58.71% 0.168 266.8)
XYZxyz(22.7845, 19.4787, 72.3568)
Luminance0.1948 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F74DF #DFBA4F
analogous
#4FBCDF #4F74DF #724FDF
triadic
#4F74DF #DF4F74 #74DF4F
tetradic
#4F74DF #DF4FBC #DFBA4F #4FDF72
square
#4F74DF #DF4FBC #DFBA4F #4FDF72
split-complementary
#4F74DF #DF724F #BCDF4F
monochromatic
#1C3C98 #2550CC #4F74DF #839DE8 #B7C6F2

Accessibility & contrast

On white

4.29
#4F74DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#4F74DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F74DF
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F74DF#FFFFFF#000000##000000
##4F74DF1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C81E3
Deuteranopia (green-blind)
#1B74DD
Tritanopia (blue-blind)
#008D9F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4f74df;
/* rgb */ color: rgb(79, 116, 223);
/* oklch */ color: oklch(58.7% 0.168 266.8);
Tailwind
colors: {
  custom: {
    50: '#8e9bea',
    500: '#4f74df',
    950: '#000000',
  },
}
SCSS
$custom: #4f74df;
$custom-light: #8e9bea;
$custom-dark: #000000;
JSON
{
  "hex": "#4f74df",
  "rgb": {
    "r": 79,
    "g": 116,
    "b": 223
  },
  "hsl": {
    "h": 224.583,
    "s": 69.231,
    "l": 59.216
  },
  "oklch": {
    "l": 0.5871,
    "c": 0.16806,
    "h": 266.8
  },
  "luminance": 0.19481
}

Semantic roles & 50–950 ramp

primary
#4F74DF
secondary
#E1D3A9
accent
#BF3CEC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #4F74DF

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

Preview Lab → · Contrast checker → · Palette generator →

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