#4D7FE9#4D7FE9

#4D7FE9 is a mid, vivid blue. Relative luminance 0.226; OKLCH L 61.5% C 0.169 H 263.3°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#4D7FE9
RGBrgb(77, 127, 233)
HSLhsl(221, 78%, 61%)
HSVhsv(221, 67%, 91%)
CMYKcmyk(67%, 45.5%, 0%, 8.6%)
CIE-LABlab(54.70, 17.13, -58.66)
CIE-LCHlch(54.70, 61.11, 286.28°)
OKLaboklab(61.52% -0.0197 -0.1679)
OKLCHoklch(61.52% 0.169 263.3)
XYZxyz(25.3527, 22.6372, 80.1083)
Luminance0.2264 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7FE9 #E9B74D
analogous
#4DCDE9 #4D7FE9 #694DE9
triadic
#4D7FE9 #E94D7F #7FE94D
tetradic
#4D7FE9 #E94DCD #E9B74D #4DE969
square
#4D7FE9 #E94DCD #E9B74D #4DE969
split-complementary
#4D7FE9 #E9694D #CDE94D
monochromatic
#1544A7 #1B5ADD #4D7FE9 #83A6F0 #BACDF6

Accessibility & contrast

On white

3.80
#4D7FE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#4D7FE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D7FE9
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7FE9#FFFFFF#000000##000000
##4D7FE91.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A8BED
Deuteranopia (green-blind)
#2B7CE7
Tritanopia (blue-blind)
#0098A9
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #4d7fe9;
/* rgb */ color: rgb(77, 127, 233);
/* oklch */ color: oklch(61.5% 0.169 263.3);
Tailwind
colors: {
  custom: {
    50: '#8fa3f1',
    500: '#4d7fe9',
    950: '#000000',
  },
}
SCSS
$custom: #4d7fe9;
$custom-light: #8fa3f1;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7fe9",
  "rgb": {
    "r": 77,
    "g": 127,
    "b": 233
  },
  "hsl": {
    "h": 220.769,
    "s": 78,
    "l": 60.784
  },
  "oklch": {
    "l": 0.61522,
    "c": 0.16904,
    "h": 263.3
  },
  "luminance": 0.2264
}

Semantic roles & 50–950 ramp

primary
#4D7FE9
secondary
#E6D4AB
accent
#980BDA
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #4D7FE9

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

Preview Lab → · Contrast checker → · Palette generator →

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