#4D58AF#4D58AF

#4D58AF is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.7% C 0.137 H 274.8°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#4D58AF
RGBrgb(77, 88, 175)
HSLhsl(233, 39%, 49%)
HSVhsv(233, 56%, 69%)
CMYKcmyk(56%, 49.7%, 0%, 31.4%)
CIE-LABlab(40.66, 21.63, -47.96)
CIE-LCHlch(40.66, 52.61, 294.28°)
OKLaboklab(49.67% 0.0116 -0.1369)
OKLCHoklch(49.67% 0.137 274.8)
XYZxyz(14.2857, 11.6514, 42.0453)
Luminance0.1165 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D58AF #AFA44D
analogous
#4D89AF #4D58AF #734DAF
triadic
#4D58AF #AF4D58 #58AF4D
tetradic
#4D58AF #AF4D89 #AFA44D #4DAF73
square
#4D58AF #AF4D89 #AFA44D #4DAF73
split-complementary
#4D58AF #AF734D #89AF4D
monochromatic
#282D5A #3A4385 #4D58AF #767FC3 #A1A7D6

Accessibility & contrast

On white

6.31
#4D58AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#4D58AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D58AF
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D58AF#FFFFFF#000000##FFFFFF
##4D58AF1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D64B2
Deuteranopia (green-blind)
#1F5CAD
Tritanopia (blue-blind)
#186B7B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4d58af;
/* rgb */ color: rgb(77, 88, 175);
/* oklch */ color: oklch(49.7% 0.137 274.8);
Tailwind
colors: {
  custom: {
    50: '#8787c7',
    500: '#4d58af',
    950: '#000000',
  },
}
SCSS
$custom: #4d58af;
$custom-light: #8787c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4d58af",
  "rgb": {
    "r": 77,
    "g": 88,
    "b": 175
  },
  "hsl": {
    "h": 233.265,
    "s": 38.889,
    "l": 49.412
  },
  "oklch": {
    "l": 0.4967,
    "c": 0.13739,
    "h": 274.8
  },
  "luminance": 0.11652
}

Semantic roles & 50–950 ramp

primary
#4D58AF
secondary
#C3BD95
accent
#C259CF
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #4D58AF

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

Preview Lab → · Contrast checker → · Palette generator →

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