#4D65D5#4D65D5

#4D65D5 is a mid, vivid blue. Relative luminance 0.157; OKLCH L 54.9% C 0.174 H 270.6°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#4D65D5
RGBrgb(77, 101, 213)
HSLhsl(229, 62%, 57%)
HSVhsv(229, 64%, 84%)
CMYKcmyk(63.8%, 52.6%, 0%, 16.5%)
CIE-LABlab(46.56, 26.34, -60.47)
CIE-LCHlch(46.56, 65.96, 293.54°)
OKLaboklab(54.93% 0.0018 -0.1736)
OKLCHoklch(54.93% 0.174 270.6)
XYZxyz(19.7204, 15.6875, 64.9266)
Luminance0.1569 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D65D5 #D5BD4D
analogous
#4DA9D5 #4D65D5 #794DD5
triadic
#4D65D5 #D54D65 #65D54D
tetradic
#4D65D5 #D54DA9 #D5BD4D #4DD579
square
#4D65D5 #D54DA9 #D5BD4D #4DD579
split-complementary
#4D65D5 #D5794D #A9D54D
monochromatic
#203288 #2C45B9 #4D65D5 #7F90E1 #B0BBEC

Accessibility & contrast

On white

5.08
#4D65D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#4D65D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D65D5
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D65D5#FFFFFF#000000##FFFFFF
##4D65D51.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D75D9
Deuteranopia (green-blind)
#0069D3
Tritanopia (blue-blind)
#007F93
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4d65d5;
/* rgb */ color: rgb(77, 101, 213);
/* oklch */ color: oklch(54.9% 0.174 270.6);
Tailwind
colors: {
  custom: {
    50: '#8c90e3',
    500: '#4d65d5',
    950: '#000000',
  },
}
SCSS
$custom: #4d65d5;
$custom-light: #8c90e3;
$custom-dark: #000000;
JSON
{
  "hex": "#4d65d5",
  "rgb": {
    "r": 77,
    "g": 101,
    "b": 213
  },
  "hsl": {
    "h": 229.412,
    "s": 61.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.54927,
    "c": 0.17359,
    "h": 270.6
  },
  "luminance": 0.15689
}

Semantic roles & 50–950 ramp

primary
#4D65D5
secondary
#DBD1A3
accent
#C843E5
background
#F9F8FE
surface
#F1F0FC
border
#CBCBD5
text
#0D0C15
muted
#7E7D84

Preview Lab

Preview with #4D65D5

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

Preview Lab → · Contrast checker → · Palette generator →

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