#4F74CF#4F74CF

#4F74CF is a mid, vivid blue. Relative luminance 0.187; OKLCH L 57.7% C 0.146 H 265.4°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#4F74CF
RGBrgb(79, 116, 207)
HSLhsl(223, 57%, 56%)
HSVhsv(223, 62%, 81%)
CMYKcmyk(61.8%, 44%, 0%, 18.8%)
CIE-LABlab(50.28, 15.26, -51.07)
CIE-LCHlch(50.28, 53.30, 286.64°)
OKLaboklab(57.67% -0.0116 -0.1457)
OKLCHoklch(57.67% 0.146 265.4)
XYZxyz(20.7284, 18.6562, 61.5280)
Luminance0.1866 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F74CF #CFAA4F
analogous
#4FB4CF #4F74CF #6A4FCF
triadic
#4F74CF #CF4F74 #74CF4F
tetradic
#4F74CF #CF4FB4 #CFAA4F #4FCF6A
square
#4F74CF #CF4FB4 #CFAA4F #4FCF6A
split-complementary
#4F74CF #CF6A4F #B4CF4F
monochromatic
#233E81 #3055B1 #4F74CF #7F9ADC #AFC0E9

Accessibility & contrast

On white

4.44
#4F74CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#4F74CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F74CF
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F74CF#FFFFFF#000000##000000
##4F74CF1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A7ED2
Deuteranopia (green-blind)
#3672CD
Tritanopia (blue-blind)
#008997
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4f74cf;
/* rgb */ color: rgb(79, 116, 207);
/* oklch */ color: oklch(57.7% 0.146 265.4);
Tailwind
colors: {
  custom: {
    50: '#8c9bde',
    500: '#4f74cf',
    950: '#000000',
  },
}
SCSS
$custom: #4f74cf;
$custom-light: #8c9bde;
$custom-dark: #000000;
JSON
{
  "hex": "#4f74cf",
  "rgb": {
    "r": 79,
    "g": 116,
    "b": 207
  },
  "hsl": {
    "h": 222.656,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.57666,
    "c": 0.14614,
    "h": 265.4
  },
  "luminance": 0.18658
}

Semantic roles & 50–950 ramp

primary
#4F74CF
secondary
#D7C8A2
accent
#B447E0
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4F74CF

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

Preview Lab → · Contrast checker → · Palette generator →

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