#4D7FA2#4D7FA2

#4D7FA2 is a mid, moderate cyan. Relative luminance 0.194; OKLCH L 57.6% C 0.077 H 240.4°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#4D7FA2
RGBrgb(77, 127, 162)
HSLhsl(205, 36%, 47%)
HSVhsv(205, 52%, 64%)
CMYKcmyk(52.5%, 21.6%, 0%, 36.5%)
CIE-LABlab(51.11, -6.62, -23.87)
CIE-LCHlch(51.11, 24.77, 254.49°)
OKLaboklab(57.56% -0.0378 -0.0665)
OKLCHoklch(57.56% 0.077 240.4)
XYZxyz(17.1692, 19.3638, 37.0082)
Luminance0.1936 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7FA2 #A2704D
analogous
#4DA29B #4D7FA2 #4D55A2
triadic
#4D7FA2 #A24D7F #7FA24D
tetradic
#4D7FA2 #9B4DA2 #A2704D #55A24D
square
#4D7FA2 #9B4DA2 #A2704D #55A24D
split-complementary
#4D7FA2 #A24D55 #A29B4D
monochromatic
#263E4F #395E79 #4D7FA2 #719DBB #9AB9CF

Accessibility & contrast

On white

4.31
#4D7FA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#4D7FA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D7FA2
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7FA2#FFFFFF#000000##000000
##4D7FA21.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#707FA4
Deuteranopia (green-blind)
#6476A1
Tritanopia (blue-blind)
#1D888B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4d7fa2;
/* rgb */ color: rgb(77, 127, 162);
/* oklch */ color: oklch(57.6% 0.077 240.4);
Tailwind
colors: {
  custom: {
    50: '#84a4bd',
    500: '#4d7fa2',
    950: '#000000',
  },
}
SCSS
$custom: #4d7fa2;
$custom-light: #84a4bd;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7fa2",
  "rgb": {
    "r": 77,
    "g": 127,
    "b": 162
  },
  "hsl": {
    "h": 204.706,
    "s": 35.565,
    "l": 46.863
  },
  "oklch": {
    "l": 0.57559,
    "c": 0.07652,
    "h": 240.4
  },
  "luminance": 0.19365
}

Semantic roles & 50–950 ramp

primary
#4D7FA2
secondary
#BCA18F
accent
#8A5CCC
background
#F8FAFB
surface
#F0F4F6
border
#CBCED0
text
#0B0F12
muted
#7C7F81

Preview Lab

Preview with #4D7FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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