#4D62AB#4D62AB

#4D62AB is a mid, moderate blue. Relative luminance 0.133; OKLCH L 51.5% C 0.118 H 269.8°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#4D62AB
RGBrgb(77, 98, 171)
HSLhsl(227, 38%, 49%)
HSVhsv(227, 55%, 67%)
CMYKcmyk(55%, 42.7%, 0%, 32.9%)
CIE-LABlab(43.14, 13.93, -41.63)
CIE-LCHlch(43.14, 43.90, 288.51°)
OKLaboklab(51.49% -0.0004 -0.1182)
OKLCHoklch(51.49% 0.118 269.8)
XYZxyz(14.7765, 13.2524, 40.2995)
Luminance0.1325 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D62AB #AB964D
analogous
#4D91AB #4D62AB #674DAB
triadic
#4D62AB #AB4D62 #62AB4D
tetradic
#4D62AB #AB4D91 #AB964D #4DAB67
square
#4D62AB #AB4D91 #AB964D #4DAB67
split-complementary
#4D62AB #AB674D #91AB4D
monochromatic
#273257 #3A4A81 #4D62AB #7586C1 #9FABD4

Accessibility & contrast

On white

5.75
#4D62AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#4D62AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D62AB
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D62AB#FFFFFF#000000##FFFFFF
##4D62AB1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#436AAE
Deuteranopia (green-blind)
#3862A9
Tritanopia (blue-blind)
#1B727E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4d62ab;
/* rgb */ color: rgb(77, 98, 171);
/* oklch */ color: oklch(51.5% 0.118 269.8);
Tailwind
colors: {
  custom: {
    50: '#868ec4',
    500: '#4d62ab',
    950: '#000000',
  },
}
SCSS
$custom: #4d62ab;
$custom-light: #868ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#4d62ab",
  "rgb": {
    "r": 77,
    "g": 98,
    "b": 171
  },
  "hsl": {
    "h": 226.596,
    "s": 37.903,
    "l": 48.627
  },
  "oklch": {
    "l": 0.51485,
    "c": 0.11823,
    "h": 269.8
  },
  "luminance": 0.13253
}

Semantic roles & 50–950 ramp

primary
#4D62AB
secondary
#C0B693
accent
#B45ACE
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #4D62AB

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

Preview Lab → · Contrast checker → · Palette generator →

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