#4D74CF#4D74CF

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

Color values

HEX#4D74CF
RGBrgb(77, 116, 207)
HSLhsl(222, 58%, 56%)
HSVhsv(222, 63%, 81%)
CMYKcmyk(62.8%, 44%, 0%, 18.8%)
CIE-LABlab(50.18, 14.90, -51.23)
CIE-LCHlch(50.18, 53.36, 286.21°)
OKLaboklab(57.56% -0.0135 -0.1462)
OKLCHoklch(57.56% 0.147 264.7)
XYZxyz(20.5645, 18.5717, 61.5204)
Luminance0.1857 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D74CF #CFA84D
analogous
#4DB5CF #4D74CF #674DCF
triadic
#4D74CF #CF4D74 #74CF4D
tetradic
#4D74CF #CF4DB5 #CFA84D #4DCF67
square
#4D74CF #CF4DB5 #CFA84D #4DCF67
split-complementary
#4D74CF #CF674D #B5CF4D
monochromatic
#223E7F #2F56AF #4D74CF #7D9ADC #ADBFE9

Accessibility & contrast

On white

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

On black

4.71
#4D74CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D74CF
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D74CF#FFFFFF#000000##000000
##4D74CF1.004.454.714.71
#FFFFFF4.451.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#497ED2
Deuteranopia (green-blind)
#3572CD
Tritanopia (blue-blind)
#008997
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4d74cf;
/* rgb */ color: rgb(77, 116, 207);
/* oklch */ color: oklch(57.6% 0.147 264.7);
Tailwind
colors: {
  custom: {
    50: '#8b9bde',
    500: '#4d74cf',
    950: '#000000',
  },
}
SCSS
$custom: #4d74cf;
$custom-light: #8b9bde;
$custom-dark: #000000;
JSON
{
  "hex": "#4d74cf",
  "rgb": {
    "r": 77,
    "g": 116,
    "b": 207
  },
  "hsl": {
    "h": 222,
    "s": 57.522,
    "l": 55.686
  },
  "oklch": {
    "l": 0.57562,
    "c": 0.14683,
    "h": 264.7
  },
  "luminance": 0.18574
}

Semantic roles & 50–950 ramp

primary
#4D74CF
secondary
#D7C7A1
accent
#B347E1
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4D74CF

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

Preview Lab → · Contrast checker → · Palette generator →

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