#4D65CA#4D65CA

#4D65CA is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.1% C 0.158 H 270.3°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#4D65CA
RGBrgb(77, 101, 202)
HSLhsl(228, 54%, 55%)
HSVhsv(228, 62%, 79%)
CMYKcmyk(61.9%, 50%, 0%, 20.8%)
CIE-LABlab(45.84, 22.56, -55.35)
CIE-LCHlch(45.84, 59.77, 292.17°)
OKLaboklab(54.15% 0.0008 -0.1585)
OKLCHoklch(54.15% 0.158 270.3)
XYZxyz(18.3713, 15.1479, 57.8214)
Luminance0.1515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D65CA #CAB24D
analogous
#4DA4CA #4D65CA #744DCA
triadic
#4D65CA #CA4D65 #65CA4D
tetradic
#4D65CA #CA4DA4 #CAB24D #4DCA74
square
#4D65CA #CA4DA4 #CAB24D #4DCA74
split-complementary
#4D65CA #CA744D #A4CA4D
monochromatic
#243479 #3249A8 #4D65CA #7C8ED8 #ABB7E6

Accessibility & contrast

On white

5.21
#4D65CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#4D65CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D65CA
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D65CA#FFFFFF#000000##FFFFFF
##4D65CA1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E72CE
Deuteranopia (green-blind)
#0F67C8
Tritanopia (blue-blind)
#007C8E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4d65ca;
/* rgb */ color: rgb(77, 101, 202);
/* oklch */ color: oklch(54.1% 0.158 270.3);
Tailwind
colors: {
  custom: {
    50: '#8a90db',
    500: '#4d65ca',
    950: '#000000',
  },
}
SCSS
$custom: #4d65ca;
$custom-light: #8a90db;
$custom-dark: #000000;
JSON
{
  "hex": "#4d65ca",
  "rgb": {
    "r": 77,
    "g": 101,
    "b": 202
  },
  "hsl": {
    "h": 228.48,
    "s": 54.113,
    "l": 54.706
  },
  "oklch": {
    "l": 0.54147,
    "c": 0.15849,
    "h": 270.3
  },
  "luminance": 0.15149
}

Semantic roles & 50–950 ramp

primary
#4D65CA
secondary
#D4CA9F
accent
#C14ADD
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4D65CA

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

Preview Lab → · Contrast checker → · Palette generator →

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