#4D65CB#4D65CB

#4D65CB is a mid, vivid blue. Relative luminance 0.152; OKLCH L 54.2% C 0.160 H 270.3°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#4D65CB
RGBrgb(77, 101, 203)
HSLhsl(229, 55%, 55%)
HSVhsv(229, 62%, 80%)
CMYKcmyk(62.1%, 50.2%, 0%, 20.4%)
CIE-LABlab(45.90, 22.90, -55.82)
CIE-LCHlch(45.90, 60.33, 292.31°)
OKLaboklab(54.22% 0.0009 -0.1599)
OKLCHoklch(54.22% 0.16 270.3)
XYZxyz(18.4901, 15.1954, 58.4469)
Luminance0.1520 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D65CB #CBB34D
analogous
#4DA4CB #4D65CB #744DCB
triadic
#4D65CB #CB4D65 #65CB4D
tetradic
#4D65CB #CB4DA4 #CBB34D #4DCB74
square
#4D65CB #CB4DA4 #CBB34D #4DCB74
split-complementary
#4D65CB #CB744D #A4CB4D
monochromatic
#24347A #3148A9 #4D65CB #7C8ED9 #ACB7E7

Accessibility & contrast

On white

5.20
#4D65CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#4D65CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D65CB
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D65CB#FFFFFF#000000##FFFFFF
##4D65CB1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D73CF
Deuteranopia (green-blind)
#0A67C9
Tritanopia (blue-blind)
#007D8E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4d65cb;
/* rgb */ color: rgb(77, 101, 203);
/* oklch */ color: oklch(54.2% 0.160 270.3);
Tailwind
colors: {
  custom: {
    50: '#8b90db',
    500: '#4d65cb',
    950: '#000000',
  },
}
SCSS
$custom: #4d65cb;
$custom-light: #8b90db;
$custom-dark: #000000;
JSON
{
  "hex": "#4d65cb",
  "rgb": {
    "r": 77,
    "g": 101,
    "b": 203
  },
  "hsl": {
    "h": 228.571,
    "s": 54.783,
    "l": 54.902
  },
  "oklch": {
    "l": 0.54216,
    "c": 0.15987,
    "h": 270.3
  },
  "luminance": 0.15197
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4D65CB

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

Preview Lab → · Contrast checker → · Palette generator →

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