#4D65B9#4D65B9

#4D65B9 is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.0% C 0.135 H 269.4°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#4D65B9
RGBrgb(77, 101, 185)
HSLhsl(227, 44%, 51%)
HSVhsv(227, 58%, 73%)
CMYKcmyk(58.4%, 45.4%, 0%, 27.5%)
CIE-LABlab(44.78, 16.75, -47.20)
CIE-LCHlch(44.78, 50.09, 289.54°)
OKLaboklab(53.01% -0.0014 -0.1345)
OKLCHoklch(53.01% 0.135 269.4)
XYZxyz(16.4683, 14.3866, 47.7986)
Luminance0.1439 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D65B9 #B9A14D
analogous
#4D9BB9 #4D65B9 #6B4DB9
triadic
#4D65B9 #B94D65 #65B94D
tetradic
#4D65B9 #B94D9B #B9A14D #4DB96B
square
#4D65B9 #B94D9B #B9A14D #4DB96B
split-complementary
#4D65B9 #B96B4D #9BB94D
monochromatic
#273564 #394C90 #4D65B9 #798BCA #A5B1DC

Accessibility & contrast

On white

5.42
#4D65B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#4D65B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D65B9
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D65B9#FFFFFF#000000##FFFFFF
##4D65B91.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E6FBC
Deuteranopia (green-blind)
#2F65B7
Tritanopia (blue-blind)
#007886
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4d65b9;
/* rgb */ color: rgb(77, 101, 185);
/* oklch */ color: oklch(53.0% 0.135 269.4);
Tailwind
colors: {
  custom: {
    50: '#8890ce',
    500: '#4d65b9',
    950: '#000000',
  },
}
SCSS
$custom: #4d65b9;
$custom-light: #8890ce;
$custom-dark: #000000;
JSON
{
  "hex": "#4d65b9",
  "rgb": {
    "r": 77,
    "g": 101,
    "b": 185
  },
  "hsl": {
    "h": 226.667,
    "s": 43.548,
    "l": 51.373
  },
  "oklch": {
    "l": 0.53006,
    "c": 0.13456,
    "h": 269.4
  },
  "luminance": 0.14388
}

Semantic roles & 50–950 ramp

primary
#4D65B9
secondary
#C9BE99
accent
#B755D3
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0C14
muted
#7D7D82

Preview Lab

Preview with #4D65B9

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

Preview Lab → · Contrast checker → · Palette generator →

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