#4D74F0#4D74F0

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

Color values

HEX#4D74F0
RGBrgb(77, 116, 240)
HSLhsl(226, 84%, 62%)
HSVhsv(226, 68%, 94%)
CMYKcmyk(67.9%, 51.7%, 0%, 5.9%)
CIE-LABlab(52.24, 26.35, -66.52)
CIE-LCHlch(52.24, 71.55, 291.61°)
OKLaboklab(59.79% -0.0092 -0.1912)
OKLCHoklch(59.79% 0.191 267.2)
XYZxyz(25.0287, 20.3574, 85.0315)
Luminance0.2036 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D74F0 #F0C94D
analogous
#4DC6F0 #4D74F0 #784DF0
triadic
#4D74F0 #F04D74 #74F04D
tetradic
#4D74F0 #F04DC6 #F0C94D #4DF078
square
#4D74F0 #F04DC6 #F0C94D #4DF078
split-complementary
#4D74F0 #F0784D #C6F04D
monochromatic
#0F36B3 #1548EB #4D74F0 #85A0F5 #BECCFA

Accessibility & contrast

On white

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

On black

5.07
#4D74F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D74F0
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D74F0#FFFFFF#000000##000000
##4D74F01.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2384F4
Deuteranopia (green-blind)
#0076ED
Tritanopia (blue-blind)
#0092A7
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4d74f0;
/* rgb */ color: rgb(77, 116, 240);
/* oklch */ color: oklch(59.8% 0.191 267.2);
Tailwind
colors: {
  custom: {
    50: '#909bf6',
    500: '#4d74f0',
    950: '#000000',
  },
}
SCSS
$custom: #4d74f0;
$custom-light: #909bf6;
$custom-dark: #000000;
JSON
{
  "hex": "#4d74f0",
  "rgb": {
    "r": 77,
    "g": 116,
    "b": 240
  },
  "hsl": {
    "h": 225.644,
    "s": 84.456,
    "l": 62.157
  },
  "oklch": {
    "l": 0.5979,
    "c": 0.1914,
    "h": 267.2
  },
  "luminance": 0.2036
}

Semantic roles & 50–950 ramp

primary
#4D74F0
secondary
#EADCAE
accent
#AC05E1
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4D74F0

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

Preview Lab → · Contrast checker → · Palette generator →

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