#4D65D4#4D65D4

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

Color values

HEX#4D65D4
RGBrgb(77, 101, 212)
HSLhsl(229, 61%, 57%)
HSVhsv(229, 64%, 83%)
CMYKcmyk(63.7%, 52.4%, 0%, 16.9%)
CIE-LABlab(46.49, 26.00, -60.01)
CIE-LCHlch(46.49, 65.40, 293.42°)
OKLaboklab(54.86% 0.0017 -0.1722)
OKLCHoklch(54.86% 0.172 270.6)
XYZxyz(19.5939, 15.6369, 64.2602)
Luminance0.1564 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D65D4 #D4BC4D
analogous
#4DA9D4 #4D65D4 #794DD4
triadic
#4D65D4 #D44D65 #65D44D
tetradic
#4D65D4 #D44DA9 #D4BC4D #4DD479
square
#4D65D4 #D44DA9 #D4BC4D #4DD479
split-complementary
#4D65D4 #D4794D #A9D44D
monochromatic
#203386 #2C45B7 #4D65D4 #7E90E0 #B0BAEC

Accessibility & contrast

On white

5.09
#4D65D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#4D65D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D65D4
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D65D4#FFFFFF#000000##FFFFFF
##4D65D41.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F74D8
Deuteranopia (green-blind)
#0068D2
Tritanopia (blue-blind)
#007F93
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4d65d4;
/* rgb */ color: rgb(77, 101, 212);
/* oklch */ color: oklch(54.9% 0.172 270.6);
Tailwind
colors: {
  custom: {
    50: '#8c90e2',
    500: '#4d65d4',
    950: '#000000',
  },
}
SCSS
$custom: #4d65d4;
$custom-light: #8c90e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4d65d4",
  "rgb": {
    "r": 77,
    "g": 101,
    "b": 212
  },
  "hsl": {
    "h": 229.333,
    "s": 61.086,
    "l": 56.667
  },
  "oklch": {
    "l": 0.54855,
    "c": 0.17223,
    "h": 270.6
  },
  "luminance": 0.15639
}

Semantic roles & 50–950 ramp

primary
#4D65D4
secondary
#DAD0A3
accent
#C844E4
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4D65D4

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

Preview Lab → · Contrast checker → · Palette generator →

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