#4D7ACF#4D7ACF

#4D7ACF is a mid, vivid blue. Relative luminance 0.200; OKLCH L 58.8% C 0.140 H 262.0°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#4D7ACF
RGBrgb(77, 122, 207)
HSLhsl(219, 58%, 56%)
HSVhsv(219, 63%, 81%)
CMYKcmyk(62.8%, 41.1%, 0%, 18.8%)
CIE-LABlab(51.84, 11.20, -48.59)
CIE-LCHlch(51.84, 49.87, 282.98°)
OKLaboklab(58.84% -0.0195 -0.1384)
OKLCHoklch(58.84% 0.14 262)
XYZxyz(21.2786, 19.9999, 61.7584)
Luminance0.2000 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7ACF #CFA24D
analogous
#4DBBCF #4D7ACF #614DCF
triadic
#4D7ACF #CF4D7A #7ACF4D
tetradic
#4D7ACF #CF4DBB #CFA24D #4DCF61
square
#4D7ACF #CF4DBB #CFA24D #4DCF61
split-complementary
#4D7ACF #CF614D #BBCF4D
monochromatic
#22427F #2F5CAF #4D7ACF #7D9EDC #ADC2E9

Accessibility & contrast

On white

4.20
#4D7ACF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#4D7ACF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D7ACF
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7ACF#FFFFFF#000000##000000
##4D7ACF1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5482D2
Deuteranopia (green-blind)
#4176CD
Tritanopia (blue-blind)
#008D9A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4d7acf;
/* rgb */ color: rgb(77, 122, 207);
/* oklch */ color: oklch(58.8% 0.140 262.0);
Tailwind
colors: {
  custom: {
    50: '#8aa0de',
    500: '#4d7acf',
    950: '#000000',
  },
}
SCSS
$custom: #4d7acf;
$custom-light: #8aa0de;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7acf",
  "rgb": {
    "r": 77,
    "g": 122,
    "b": 207
  },
  "hsl": {
    "h": 219.231,
    "s": 57.522,
    "l": 55.686
  },
  "oklch": {
    "l": 0.58837,
    "c": 0.13975,
    "h": 262
  },
  "luminance": 0.20002
}

Semantic roles & 50–950 ramp

primary
#4D7ACF
secondary
#D7C4A1
accent
#AC47E1
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4D7ACF

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

Preview Lab → · Contrast checker → · Palette generator →

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