#4D5FAF#4D5FAF

#4D5FAF is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.1% C 0.128 H 271.7°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#4D5FAF
RGBrgb(77, 95, 175)
HSLhsl(229, 39%, 49%)
HSVhsv(229, 56%, 69%)
CMYKcmyk(56%, 45.7%, 0%, 31.4%)
CIE-LABlab(42.55, 17.17, -44.93)
CIE-LCHlch(42.55, 48.10, 290.92°)
OKLaboklab(51.11% 0.0037 -0.1279)
OKLCHoklch(51.11% 0.128 271.7)
XYZxyz(14.8881, 12.8563, 42.2461)
Luminance0.1286 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5FAF #AF9D4D
analogous
#4D90AF #4D5FAF #6C4DAF
triadic
#4D5FAF #AF4D5F #5FAF4D
tetradic
#4D5FAF #AF4D90 #AF9D4D #4DAF6C
square
#4D5FAF #AF4D90 #AF9D4D #4DAF6C
split-complementary
#4D5FAF #AF6C4D #90AF4D
monochromatic
#28315A #3A4885 #4D5FAF #7684C3 #A1ABD6

Accessibility & contrast

On white

5.88
#4D5FAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#4D5FAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D5FAF
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5FAF#FFFFFF#000000##FFFFFF
##4D5FAF1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B69B2
Deuteranopia (green-blind)
#2F60AD
Tritanopia (blue-blind)
#15717E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4d5faf;
/* rgb */ color: rgb(77, 95, 175);
/* oklch */ color: oklch(51.1% 0.128 271.7);
Tailwind
colors: {
  custom: {
    50: '#868cc7',
    500: '#4d5faf',
    950: '#000000',
  },
}
SCSS
$custom: #4d5faf;
$custom-light: #868cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5faf",
  "rgb": {
    "r": 77,
    "g": 95,
    "b": 175
  },
  "hsl": {
    "h": 228.98,
    "s": 38.889,
    "l": 49.412
  },
  "oklch": {
    "l": 0.51105,
    "c": 0.12799,
    "h": 271.7
  },
  "luminance": 0.12857
}

Semantic roles & 50–950 ramp

primary
#4D5FAF
secondary
#C3BA95
accent
#B959CF
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #4D5FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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