#4D65CF#4D65CF

#4D65CF is a mid, vivid blue. Relative luminance 0.154; OKLCH L 54.5% C 0.165 H 270.4°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#4D65CF
RGBrgb(77, 101, 207)
HSLhsl(229, 58%, 56%)
HSVhsv(229, 63%, 81%)
CMYKcmyk(62.8%, 51.2%, 0%, 18.8%)
CIE-LABlab(46.16, 24.28, -57.69)
CIE-LCHlch(46.16, 62.59, 292.82°)
OKLaboklab(54.5% 0.0013 -0.1654)
OKLCHoklch(54.5% 0.165 270.4)
XYZxyz(18.9729, 15.3885, 60.9898)
Luminance0.1539 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D65CF #CFB74D
analogous
#4DA6CF #4D65CF #764DCF
triadic
#4D65CF #CF4D65 #65CF4D
tetradic
#4D65CF #CF4DA6 #CFB74D #4DCF76
square
#4D65CF #CF4DA6 #CFB74D #4DCF76
split-complementary
#4D65CF #CF764D #A6CF4D
monochromatic
#22337F #2F47AF #4D65CF #7D8FDC #ADB8E9

Accessibility & contrast

On white

5.15
#4D65CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#4D65CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D65CF
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D65CF#FFFFFF#000000##FFFFFF
##4D65CF1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2773D3
Deuteranopia (green-blind)
#0068CD
Tritanopia (blue-blind)
#007E90
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4d65cf;
/* rgb */ color: rgb(77, 101, 207);
/* oklch */ color: oklch(54.5% 0.165 270.4);
Tailwind
colors: {
  custom: {
    50: '#8b90de',
    500: '#4d65cf',
    950: '#000000',
  },
}
SCSS
$custom: #4d65cf;
$custom-light: #8b90de;
$custom-dark: #000000;
JSON
{
  "hex": "#4d65cf",
  "rgb": {
    "r": 77,
    "g": 101,
    "b": 207
  },
  "hsl": {
    "h": 228.923,
    "s": 57.522,
    "l": 55.686
  },
  "oklch": {
    "l": 0.54497,
    "c": 0.1654,
    "h": 270.4
  },
  "luminance": 0.1539
}

Semantic roles & 50–950 ramp

primary
#4D65CF
secondary
#D7CDA1
accent
#C447E1
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4D65CF

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

Preview Lab → · Contrast checker → · Palette generator →

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