#4D62CA#4D62CA

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

Color values

HEX#4D62CA
RGBrgb(77, 98, 202)
HSLhsl(230, 54%, 55%)
HSVhsv(230, 62%, 79%)
CMYKcmyk(61.9%, 51.5%, 0%, 20.8%)
CIE-LABlab(45.05, 24.45, -56.62)
CIE-LCHlch(45.05, 61.67, 293.36°)
OKLaboklab(53.55% 0.0038 -0.1623)
OKLCHoklch(53.55% 0.162 271.3)
XYZxyz(18.0854, 14.5759, 57.7260)
Luminance0.1458 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D62CA #CAB54D
analogous
#4DA1CA #4D62CA #774DCA
triadic
#4D62CA #CA4D62 #62CA4D
tetradic
#4D62CA #CA4DA1 #CAB54D #4DCA77
square
#4D62CA #CA4DA1 #CAB54D #4DCA77
split-complementary
#4D62CA #CA774D #A1CA4D
monochromatic
#243279 #3246A8 #4D62CA #7C8CD8 #ABB5E6

Accessibility & contrast

On white

5.36
#4D62CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4D62CA
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D62CA#FFFFFF#000000##FFFFFF
##4D62CA1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2570CE
Deuteranopia (green-blind)
#0065C8
Tritanopia (blue-blind)
#007A8C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4d62ca;
/* rgb */ color: rgb(77, 98, 202);
/* oklch */ color: oklch(53.5% 0.162 271.3);
Tailwind
colors: {
  custom: {
    50: '#8a8edb',
    500: '#4d62ca',
    950: '#000000',
  },
}
SCSS
$custom: #4d62ca;
$custom-light: #8a8edb;
$custom-dark: #000000;
JSON
{
  "hex": "#4d62ca",
  "rgb": {
    "r": 77,
    "g": 98,
    "b": 202
  },
  "hsl": {
    "h": 229.92,
    "s": 54.113,
    "l": 54.706
  },
  "oklch": {
    "l": 0.5355,
    "c": 0.1623,
    "h": 271.3
  },
  "luminance": 0.14577
}

Semantic roles & 50–950 ramp

primary
#4D62CA
secondary
#D4CB9F
accent
#C54ADD
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4D62CA

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

Preview Lab → · Contrast checker → · Palette generator →

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