#4F74EF#4F74EF

#4F74EF is a mid, vivid blue. Relative luminance 0.204; OKLCH L 59.8% C 0.190 H 267.7°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#4F74EF
RGBrgb(79, 116, 239)
HSLhsl(226, 83%, 62%)
HSVhsv(226, 67%, 94%)
CMYKcmyk(66.9%, 51.5%, 0%, 6.3%)
CIE-LABlab(52.27, 26.29, -65.92)
CIE-LCHlch(52.27, 70.97, 291.75°)
OKLaboklab(59.82% -0.0076 -0.1893)
OKLCHoklch(59.82% 0.19 267.7)
XYZxyz(25.0445, 20.3826, 84.2590)
Luminance0.2039 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F74EF #EFCA4F
analogous
#4FC4EF #4F74EF #7A4FEF
triadic
#4F74EF #EF4F74 #74EF4F
tetradic
#4F74EF #EF4FC4 #EFCA4F #4FEF7A
square
#4F74EF #EF4FC4 #EFCA4F #4FEF7A
split-complementary
#4F74EF #EF7A4F #C4EF4F
monochromatic
#1036B3 #1748EA #4F74EF #87A0F4 #BFCDF9

Accessibility & contrast

On white

4.14
#4F74EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#4F74EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F74EF
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F74EF#FFFFFF#000000##000000
##4F74EF1.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2584F3
Deuteranopia (green-blind)
#0076ED
Tritanopia (blue-blind)
#0091A6
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4f74ef;
/* rgb */ color: rgb(79, 116, 239);
/* oklch */ color: oklch(59.8% 0.190 267.7);
Tailwind
colors: {
  custom: {
    50: '#919bf5',
    500: '#4f74ef',
    950: '#000000',
  },
}
SCSS
$custom: #4f74ef;
$custom-light: #919bf5;
$custom-dark: #000000;
JSON
{
  "hex": "#4f74ef",
  "rgb": {
    "r": 79,
    "g": 116,
    "b": 239
  },
  "hsl": {
    "h": 226.125,
    "s": 83.333,
    "l": 62.353
  },
  "oklch": {
    "l": 0.59816,
    "c": 0.1895,
    "h": 267.7
  },
  "luminance": 0.20385
}

Semantic roles & 50–950 ramp

primary
#4F74EF
secondary
#EADDB0
accent
#AD06E0
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4F74EF

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

Preview Lab → · Contrast checker → · Palette generator →

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