#4D5EAF#4D5EAF

#4D5EAF is a mid, vivid blue. Relative luminance 0.127; OKLCH L 50.9% C 0.129 H 272.1°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#4D5EAF
RGBrgb(77, 94, 175)
HSLhsl(230, 39%, 49%)
HSVhsv(230, 56%, 69%)
CMYKcmyk(56%, 46.3%, 0%, 31.4%)
CIE-LABlab(42.27, 17.81, -45.37)
CIE-LCHlch(42.27, 48.74, 291.43°)
OKLaboklab(50.9% 0.0048 -0.1292)
OKLCHoklch(50.9% 0.129 272.1)
XYZxyz(14.7986, 12.6773, 42.2163)
Luminance0.1268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5EAF #AF9E4D
analogous
#4D8FAF #4D5EAF #6D4DAF
triadic
#4D5EAF #AF4D5E #5EAF4D
tetradic
#4D5EAF #AF4D8F #AF9E4D #4DAF6D
square
#4D5EAF #AF4D8F #AF9E4D #4DAF6D
split-complementary
#4D5EAF #AF6D4D #8FAF4D
monochromatic
#28305A #3A4785 #4D5EAF #7684C3 #A1AAD6

Accessibility & contrast

On white

5.94
#4D5EAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#4D5EAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D5EAF
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5EAF#FFFFFF#000000##FFFFFF
##4D5EAF1.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3968B2
Deuteranopia (green-blind)
#2D60AD
Tritanopia (blue-blind)
#16707E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4d5eaf;
/* rgb */ color: rgb(77, 94, 175);
/* oklch */ color: oklch(50.9% 0.129 272.1);
Tailwind
colors: {
  custom: {
    50: '#868bc7',
    500: '#4d5eaf',
    950: '#000000',
  },
}
SCSS
$custom: #4d5eaf;
$custom-light: #868bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5eaf",
  "rgb": {
    "r": 77,
    "g": 94,
    "b": 175
  },
  "hsl": {
    "h": 229.592,
    "s": 38.889,
    "l": 49.412
  },
  "oklch": {
    "l": 0.50897,
    "c": 0.12932,
    "h": 272.1
  },
  "luminance": 0.12678
}

Semantic roles & 50–950 ramp

primary
#4D5EAF
secondary
#C3BB95
accent
#BA59CF
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #4D5EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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