#4D62CB#4D62CB

#4D62CB is a mid, vivid blue. Relative luminance 0.146; OKLCH L 53.6% C 0.164 H 271.3°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#4D62CB
RGBrgb(77, 98, 203)
HSLhsl(230, 55%, 55%)
HSVhsv(230, 62%, 80%)
CMYKcmyk(62.1%, 51.7%, 0%, 20.4%)
CIE-LABlab(45.11, 24.79, -57.08)
CIE-LCHlch(45.11, 62.23, 293.47°)
OKLaboklab(53.62% 0.0038 -0.1636)
OKLCHoklch(53.62% 0.164 271.3)
XYZxyz(18.2041, 14.6234, 58.3516)
Luminance0.1462 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D62CB #CBB64D
analogous
#4DA1CB #4D62CB #774DCB
triadic
#4D62CB #CB4D62 #62CB4D
tetradic
#4D62CB #CB4DA1 #CBB64D #4DCB77
square
#4D62CB #CB4DA1 #CBB64D #4DCB77
split-complementary
#4D62CB #CB774D #A1CB4D
monochromatic
#24327A #3145A9 #4D62CB #7C8CD9 #ACB6E7

Accessibility & contrast

On white

5.35
#4D62CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#4D62CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D62CB
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D62CB#FFFFFF#000000##FFFFFF
##4D62CB1.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2471CF
Deuteranopia (green-blind)
#0065C9
Tritanopia (blue-blind)
#007A8D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4d62cb;
/* rgb */ color: rgb(77, 98, 203);
/* oklch */ color: oklch(53.6% 0.164 271.3);
Tailwind
colors: {
  custom: {
    50: '#8b8edb',
    500: '#4d62cb',
    950: '#000000',
  },
}
SCSS
$custom: #4d62cb;
$custom-light: #8b8edb;
$custom-dark: #000000;
JSON
{
  "hex": "#4d62cb",
  "rgb": {
    "r": 77,
    "g": 98,
    "b": 203
  },
  "hsl": {
    "h": 230,
    "s": 54.783,
    "l": 54.902
  },
  "oklch": {
    "l": 0.53621,
    "c": 0.16368,
    "h": 271.3
  },
  "luminance": 0.14625
}

Semantic roles & 50–950 ramp

primary
#4D62CB
secondary
#D4CC9F
accent
#C54ADE
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4D62CB

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

Preview Lab → · Contrast checker → · Palette generator →

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