#4F74EA#4F74EA

#4F74EA is a mid, vivid blue. Relative luminance 0.201; OKLCH L 59.5% C 0.183 H 267.5°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#4F74EA
RGBrgb(79, 116, 234)
HSLhsl(226, 79%, 61%)
HSVhsv(226, 66%, 92%)
CMYKcmyk(66.2%, 50.4%, 0%, 8.2%)
CIE-LABlab(51.94, 24.56, -63.65)
CIE-LCHlch(51.94, 68.23, 291.10°)
OKLaboklab(59.46% -0.008 -0.1827)
OKLCHoklch(59.46% 0.183 267.5)
XYZxyz(24.3160, 20.0912, 80.4225)
Luminance0.2009 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F74EA #EAC54F
analogous
#4FC2EA #4F74EA #784FEA
triadic
#4F74EA #EA4F74 #74EA4F
tetradic
#4F74EA #EA4FC2 #EAC54F #4FEA78
square
#4F74EA #EA4FC2 #EAC54F #4FEA78
split-complementary
#4F74EA #EA784F #C2EA4F
monochromatic
#1438AA #1B4AE1 #4F74EA #869FF1 #BCCAF7

Accessibility & contrast

On white

4.18
#4F74EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#4F74EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F74EA
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F74EA#FFFFFF#000000##000000
##4F74EA1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E83EE
Deuteranopia (green-blind)
#0075E8
Tritanopia (blue-blind)
#0090A4
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4f74ea;
/* rgb */ color: rgb(79, 116, 234);
/* oklch */ color: oklch(59.5% 0.183 267.5);
Tailwind
colors: {
  custom: {
    50: '#909bf1',
    500: '#4f74ea',
    950: '#000000',
  },
}
SCSS
$custom: #4f74ea;
$custom-light: #909bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#4f74ea",
  "rgb": {
    "r": 79,
    "g": 116,
    "b": 234
  },
  "hsl": {
    "h": 225.677,
    "s": 78.68,
    "l": 61.373
  },
  "oklch": {
    "l": 0.59464,
    "c": 0.18286,
    "h": 267.5
  },
  "luminance": 0.20094
}

Semantic roles & 50–950 ramp

primary
#4F74EA
secondary
#E7DAAD
accent
#A90BDB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4F74EA

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

Preview Lab → · Contrast checker → · Palette generator →

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