#4D5DAF#4D5DAF

#4D5DAF is a mid, vivid blue. Relative luminance 0.125; OKLCH L 50.7% C 0.131 H 272.6°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#4D5DAF
RGBrgb(77, 93, 175)
HSLhsl(230, 39%, 49%)
HSVhsv(230, 56%, 69%)
CMYKcmyk(56%, 46.9%, 0%, 31.4%)
CIE-LABlab(42.00, 18.45, -45.80)
CIE-LCHlch(42.00, 49.38, 291.94°)
OKLaboklab(50.69% 0.006 -0.1305)
OKLCHoklch(50.69% 0.131 272.6)
XYZxyz(14.7103, 12.5006, 42.1868)
Luminance0.1250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5DAF #AF9F4D
analogous
#4D8EAF #4D5DAF #6E4DAF
triadic
#4D5DAF #AF4D5D #5DAF4D
tetradic
#4D5DAF #AF4D8E #AF9F4D #4DAF6E
square
#4D5DAF #AF4D8E #AF9F4D #4DAF6E
split-complementary
#4D5DAF #AF6E4D #8EAF4D
monochromatic
#28305A #3A4685 #4D5DAF #7683C3 #A1A9D6

Accessibility & contrast

On white

6.00
#4D5DAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#4D5DAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D5DAF
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5DAF#FFFFFF#000000##FFFFFF
##4D5DAF1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3768B2
Deuteranopia (green-blind)
#2B5FAD
Tritanopia (blue-blind)
#166F7D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4d5daf;
/* rgb */ color: rgb(77, 93, 175);
/* oklch */ color: oklch(50.7% 0.131 272.6);
Tailwind
colors: {
  custom: {
    50: '#868ac7',
    500: '#4d5daf',
    950: '#000000',
  },
}
SCSS
$custom: #4d5daf;
$custom-light: #868ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5daf",
  "rgb": {
    "r": 77,
    "g": 93,
    "b": 175
  },
  "hsl": {
    "h": 230.204,
    "s": 38.889,
    "l": 49.412
  },
  "oklch": {
    "l": 0.5069,
    "c": 0.13066,
    "h": 272.6
  },
  "luminance": 0.12502
}

Semantic roles & 50–950 ramp

primary
#4D5DAF
secondary
#C3BB95
accent
#BC59CF
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #4D5DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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