#4D7CDB#4D7CDB

#4D7CDB is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.0% C 0.154 H 262.8°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#4D7CDB
RGBrgb(77, 124, 219)
HSLhsl(220, 66%, 58%)
HSVhsv(220, 65%, 86%)
CMYKcmyk(64.8%, 43.4%, 0%, 14.1%)
CIE-LABlab(53.06, 14.11, -53.42)
CIE-LCHlch(53.06, 55.26, 284.80°)
OKLaboklab(60% -0.0192 -0.1525)
OKLCHoklch(60% 0.154 262.8)
XYZxyz(23.0499, 21.1054, 69.8631)
Luminance0.2111 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7CDB #DBAC4D
analogous
#4DC3DB #4D7CDB #654DDB
triadic
#4D7CDB #DB4D7C #7CDB4D
tetradic
#4D7CDB #DB4DC3 #DBAC4D #4DDB65
square
#4D7CDB #DB4DC3 #DBAC4D #4DDB65
split-complementary
#4D7CDB #DB654D #C3DB4D
monochromatic
#1D4390 #275BC3 #4D7CDB #80A1E5 #B3C7F0

Accessibility & contrast

On white

4.02
#4D7CDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#4D7CDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D7CDB
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7CDB#FFFFFF#000000##000000
##4D7CDB1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F86DF
Deuteranopia (green-blind)
#3879D9
Tritanopia (blue-blind)
#0092A1
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4d7cdb;
/* rgb */ color: rgb(77, 124, 219);
/* oklch */ color: oklch(60.0% 0.154 262.8);
Tailwind
colors: {
  custom: {
    50: '#8ca1e7',
    500: '#4d7cdb',
    950: '#000000',
  },
}
SCSS
$custom: #4d7cdb;
$custom-light: #8ca1e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7cdb",
  "rgb": {
    "r": 77,
    "g": 124,
    "b": 219
  },
  "hsl": {
    "h": 220.141,
    "s": 66.355,
    "l": 58.039
  },
  "oklch": {
    "l": 0.60003,
    "c": 0.15374,
    "h": 262.8
  },
  "luminance": 0.21108
}

Semantic roles & 50–950 ramp

primary
#4D7CDB
secondary
#DECBA6
accent
#B13FE9
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4D7CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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