#4D7CD9#4D7CD9

#4D7CD9 is a mid, vivid blue. Relative luminance 0.210; OKLCH L 59.9% C 0.151 H 262.5°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#4D7CD9
RGBrgb(77, 124, 217)
HSLhsl(220, 65%, 58%)
HSVhsv(220, 65%, 85%)
CMYKcmyk(64.5%, 42.9%, 0%, 14.9%)
CIE-LABlab(52.95, 13.42, -52.48)
CIE-LCHlch(52.95, 54.17, 284.34°)
OKLaboklab(59.88% -0.0196 -0.1497)
OKLCHoklch(59.88% 0.151 262.5)
XYZxyz(22.7882, 21.0007, 68.4848)
Luminance0.2100 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7CD9 #D9AA4D
analogous
#4DC2D9 #4D7CD9 #644DD9
triadic
#4D7CD9 #D94D7C #7CD94D
tetradic
#4D7CD9 #D94DC2 #D9AA4D #4DD964
square
#4D7CD9 #D94DC2 #D9AA4D #4DD964
split-complementary
#4D7CD9 #D9644D #C2D94D
monochromatic
#1E448D #295CC0 #4D7CD9 #7FA1E4 #B2C6EF

Accessibility & contrast

On white

4.04
#4D7CD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#4D7CD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D7CD9
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7CD9#FFFFFF#000000##000000
##4D7CD91.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5185DD
Deuteranopia (green-blind)
#3A78D7
Tritanopia (blue-blind)
#0091A0
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4d7cd9;
/* rgb */ color: rgb(77, 124, 217);
/* oklch */ color: oklch(59.9% 0.151 262.5);
Tailwind
colors: {
  custom: {
    50: '#8ca1e5',
    500: '#4d7cd9',
    950: '#000000',
  },
}
SCSS
$custom: #4d7cd9;
$custom-light: #8ca1e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7cd9",
  "rgb": {
    "r": 77,
    "g": 124,
    "b": 217
  },
  "hsl": {
    "h": 219.857,
    "s": 64.815,
    "l": 57.647
  },
  "oklch": {
    "l": 0.59878,
    "c": 0.15103,
    "h": 262.5
  },
  "luminance": 0.21003
}

Semantic roles & 50–950 ramp

primary
#4D7CD9
secondary
#DDCAA5
accent
#AF40E8
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4D7CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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