#4D72F0#4D72F0

#4D72F0 is a mid, vivid blue. Relative luminance 0.199; OKLCH L 59.4% C 0.194 H 267.8°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#4D72F0
RGBrgb(77, 114, 240)
HSLhsl(226, 84%, 62%)
HSVhsv(226, 68%, 94%)
CMYKcmyk(67.9%, 52.5%, 0%, 5.9%)
CIE-LABlab(51.73, 27.59, -67.35)
CIE-LCHlch(51.73, 72.78, 292.27°)
OKLaboklab(59.4% -0.0076 -0.1936)
OKLCHoklch(59.4% 0.194 267.8)
XYZxyz(24.8006, 19.9012, 84.9555)
Luminance0.1990 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D72F0 #F0CB4D
analogous
#4DC4F0 #4D72F0 #794DF0
triadic
#4D72F0 #F04D72 #72F04D
tetradic
#4D72F0 #F04DC4 #F0CB4D #4DF079
square
#4D72F0 #F04DC4 #F0CB4D #4DF079
split-complementary
#4D72F0 #F0794D #C4F04D
monochromatic
#0F34B3 #1545EB #4D72F0 #859FF5 #BECBFA

Accessibility & contrast

On white

4.22
#4D72F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#4D72F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D72F0
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D72F0#FFFFFF#000000##000000
##4D72F01.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1983F4
Deuteranopia (green-blind)
#0074ED
Tritanopia (blue-blind)
#0090A6
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4d72f0;
/* rgb */ color: rgb(77, 114, 240);
/* oklch */ color: oklch(59.4% 0.194 267.8);
Tailwind
colors: {
  custom: {
    50: '#919af6',
    500: '#4d72f0',
    950: '#000000',
  },
}
SCSS
$custom: #4d72f0;
$custom-light: #919af6;
$custom-dark: #000000;
JSON
{
  "hex": "#4d72f0",
  "rgb": {
    "r": 77,
    "g": 114,
    "b": 240
  },
  "hsl": {
    "h": 226.38,
    "s": 84.456,
    "l": 62.157
  },
  "oklch": {
    "l": 0.59402,
    "c": 0.1938,
    "h": 267.8
  },
  "luminance": 0.19904
}

Semantic roles & 50–950 ramp

primary
#4D72F0
secondary
#EADDAE
accent
#AF05E1
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4D72F0

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

Preview Lab → · Contrast checker → · Palette generator →

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