#4D5BAF#4D5BAF

#4D5BAF is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.3% C 0.133 H 273.5°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#4D5BAF
RGBrgb(77, 91, 175)
HSLhsl(231, 39%, 49%)
HSVhsv(231, 56%, 69%)
CMYKcmyk(56%, 48%, 0%, 31.4%)
CIE-LABlab(41.46, 19.72, -46.67)
CIE-LCHlch(41.46, 50.66, 292.91°)
OKLaboklab(50.28% 0.0082 -0.1331)
OKLCHoklch(50.28% 0.133 273.5)
XYZxyz(14.5370, 12.1541, 42.1291)
Luminance0.1216 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5BAF #AFA14D
analogous
#4D8CAF #4D5BAF #704DAF
triadic
#4D5BAF #AF4D5B #5BAF4D
tetradic
#4D5BAF #AF4D8C #AFA14D #4DAF70
square
#4D5BAF #AF4D8C #AFA14D #4DAF70
split-complementary
#4D5BAF #AF704D #8CAF4D
monochromatic
#282F5A #3A4585 #4D5BAF #7681C3 #A1A8D6

Accessibility & contrast

On white

6.12
#4D5BAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#4D5BAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D5BAF
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5BAF#FFFFFF#000000##FFFFFF
##4D5BAF1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3366B2
Deuteranopia (green-blind)
#265EAD
Tritanopia (blue-blind)
#176E7C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4d5baf;
/* rgb */ color: rgb(77, 91, 175);
/* oklch */ color: oklch(50.3% 0.133 273.5);
Tailwind
colors: {
  custom: {
    50: '#8689c7',
    500: '#4d5baf',
    950: '#000000',
  },
}
SCSS
$custom: #4d5baf;
$custom-light: #8689c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5baf",
  "rgb": {
    "r": 77,
    "g": 91,
    "b": 175
  },
  "hsl": {
    "h": 231.429,
    "s": 38.889,
    "l": 49.412
  },
  "oklch": {
    "l": 0.50279,
    "c": 0.13334,
    "h": 273.5
  },
  "luminance": 0.12155
}

Semantic roles & 50–950 ramp

primary
#4D5BAF
secondary
#C3BC95
accent
#BE59CF
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #4D5BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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