#4F74CE#4F74CE

#4F74CE is a mid, vivid blue. Relative luminance 0.186; OKLCH L 57.6% C 0.145 H 265.3°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#4F74CE
RGBrgb(79, 116, 206)
HSLhsl(223, 56%, 56%)
HSVhsv(223, 62%, 81%)
CMYKcmyk(61.7%, 43.7%, 0%, 19.2%)
CIE-LABlab(50.22, 14.92, -50.59)
CIE-LCHlch(50.22, 52.75, 286.43°)
OKLaboklab(57.6% -0.0118 -0.1443)
OKLCHoklch(57.6% 0.145 265.3)
XYZxyz(20.6066, 18.6075, 60.8862)
Luminance0.1861 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F74CE #CEA94F
analogous
#4FB3CE #4F74CE #694FCE
triadic
#4F74CE #CE4F74 #74CE4F
tetradic
#4F74CE #CE4FB3 #CEA94F #4FCE69
square
#4F74CE #CE4FB3 #CEA94F #4FCE69
split-complementary
#4F74CE #CE694F #B3CE4F
monochromatic
#233E7F #3156AF #4F74CE #7F9ADB #AFC0E9

Accessibility & contrast

On white

4.45
#4F74CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#4F74CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F74CE
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F74CE#FFFFFF#000000##000000
##4F74CE1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A7ED1
Deuteranopia (green-blind)
#3772CC
Tritanopia (blue-blind)
#008897
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4f74ce;
/* rgb */ color: rgb(79, 116, 206);
/* oklch */ color: oklch(57.6% 0.145 265.3);
Tailwind
colors: {
  custom: {
    50: '#8b9bdd',
    500: '#4f74ce',
    950: '#000000',
  },
}
SCSS
$custom: #4f74ce;
$custom-light: #8b9bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#4f74ce",
  "rgb": {
    "r": 79,
    "g": 116,
    "b": 206
  },
  "hsl": {
    "h": 222.52,
    "s": 56.444,
    "l": 55.882
  },
  "oklch": {
    "l": 0.57603,
    "c": 0.14476,
    "h": 265.3
  },
  "luminance": 0.18609
}

Semantic roles & 50–950 ramp

primary
#4F74CE
secondary
#D7C7A2
accent
#B448E0
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4F74CE

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

Preview Lab → · Contrast checker → · Palette generator →

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