#4D65B2#4D65B2

#4D65B2 is a mid, vivid blue. Relative luminance 0.141; OKLCH L 52.6% C 0.125 H 268.8°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#4D65B2
RGBrgb(77, 101, 178)
HSLhsl(226, 40%, 50%)
HSVhsv(226, 57%, 70%)
CMYKcmyk(56.7%, 43.3%, 0%, 30.2%)
CIE-LABlab(44.37, 14.39, -43.77)
CIE-LCHlch(44.37, 46.08, 288.19°)
OKLaboklab(52.56% -0.0026 -0.1245)
OKLCHoklch(52.56% 0.125 268.8)
XYZxyz(15.7475, 14.0983, 44.0023)
Luminance0.1410 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D65B2 #B29A4D
analogous
#4D97B2 #4D65B2 #684DB2
triadic
#4D65B2 #B24D65 #65B24D
tetradic
#4D65B2 #B24D97 #B29A4D #4DB268
square
#4D65B2 #B24D97 #B29A4D #4DB268
split-complementary
#4D65B2 #B2684D #97B24D
monochromatic
#28355D #3B4D87 #4D65B2 #788AC4 #A2AFD7

Accessibility & contrast

On white

5.50
#4D65B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#4D65B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D65B2
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D65B2#FFFFFF#000000##FFFFFF
##4D65B21.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#446EB5
Deuteranopia (green-blind)
#3765B0
Tritanopia (blue-blind)
#0C7683
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4d65b2;
/* rgb */ color: rgb(77, 101, 178);
/* oklch */ color: oklch(52.6% 0.125 268.8);
Tailwind
colors: {
  custom: {
    50: '#8790c9',
    500: '#4d65b2',
    950: '#000000',
  },
}
SCSS
$custom: #4d65b2;
$custom-light: #8790c9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d65b2",
  "rgb": {
    "r": 77,
    "g": 101,
    "b": 178
  },
  "hsl": {
    "h": 225.743,
    "s": 39.608,
    "l": 50
  },
  "oklch": {
    "l": 0.5256,
    "c": 0.12451,
    "h": 268.8
  },
  "luminance": 0.14099
}

Semantic roles & 50–950 ramp

primary
#4D65B2
secondary
#C4B997
accent
#B358CF
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #4D65B2

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

Preview Lab → · Contrast checker → · Palette generator →

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