#4D5FCB#4D5FCB

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

Color values

HEX#4D5FCB
RGBrgb(77, 95, 203)
HSLhsl(231, 55%, 55%)
HSVhsv(231, 62%, 80%)
CMYKcmyk(62.1%, 53.2%, 0%, 20.4%)
CIE-LABlab(44.34, 26.68, -58.34)
CIE-LCHlch(44.34, 64.15, 294.58°)
OKLaboklab(53.04% 0.0067 -0.1674)
OKLCHoklch(53.04% 0.168 272.3)
XYZxyz(17.9287, 14.0725, 58.2598)
Luminance0.1407 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5FCB #CBB94D
analogous
#4D9ECB #4D5FCB #7A4DCB
triadic
#4D5FCB #CB4D5F #5FCB4D
tetradic
#4D5FCB #CB4D9E #CBB94D #4DCB7A
square
#4D5FCB #CB4D9E #CBB94D #4DCB7A
split-complementary
#4D5FCB #CB7A4D #9ECB4D
monochromatic
#24307A #3143A9 #4D5FCB #7C8AD9 #ACB4E7

Accessibility & contrast

On white

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

On black

3.81
#4D5FCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4D5FCB#FFFFFF#000000##FFFFFF
##4D5FCB1.005.503.815.50
#FFFFFF5.501.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#186FCF
Deuteranopia (green-blind)
#0063C9
Tritanopia (blue-blind)
#00788C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4d5fcb;
/* rgb */ color: rgb(77, 95, 203);
/* oklch */ color: oklch(53.0% 0.168 272.3);
Tailwind
colors: {
  custom: {
    50: '#8b8cdc',
    500: '#4d5fcb',
    950: '#000000',
  },
}
SCSS
$custom: #4d5fcb;
$custom-light: #8b8cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5fcb",
  "rgb": {
    "r": 77,
    "g": 95,
    "b": 203
  },
  "hsl": {
    "h": 231.429,
    "s": 54.783,
    "l": 54.902
  },
  "oklch": {
    "l": 0.53036,
    "c": 0.1675,
    "h": 272.3
  },
  "luminance": 0.14074
}

Semantic roles & 50–950 ramp

primary
#4D5FCB
secondary
#D4CD9F
accent
#C94ADE
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4D5FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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