#4D5FBA#4D5FBA

#4D5FBA is a mid, vivid blue. Relative luminance 0.133; OKLCH L 51.8% C 0.144 H 272.1°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#4D5FBA
RGBrgb(77, 95, 186)
HSLhsl(230, 44%, 52%)
HSVhsv(230, 59%, 73%)
CMYKcmyk(58.6%, 48.9%, 0%, 27.1%)
CIE-LABlab(43.22, 20.89, -50.29)
CIE-LCHlch(43.22, 54.45, 292.56°)
OKLaboklab(51.84% 0.0052 -0.1437)
OKLCHoklch(51.84% 0.144 272.1)
XYZxyz(16.0128, 13.3061, 48.1694)
Luminance0.1331 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5FBA #BAA84D
analogous
#4D96BA #4D5FBA #724DBA
triadic
#4D5FBA #BA4D5F #5FBA4D
tetradic
#4D5FBA #BA4D96 #BAA84D #4DBA72
square
#4D5FBA #BA4D96 #BAA84D #4DBA72
split-complementary
#4D5FBA #BA724D #96BA4D
monochromatic
#273265 #384791 #4D5FBA #7987CB #A5AEDC

Accessibility & contrast

On white

5.74
#4D5FBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#4D5FBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D5FBA
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5FBA#FFFFFF#000000##FFFFFF
##4D5FBA1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#316BBD
Deuteranopia (green-blind)
#1F62B8
Tritanopia (blue-blind)
#007483
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4d5fba;
/* rgb */ color: rgb(77, 95, 186);
/* oklch */ color: oklch(51.8% 0.144 272.1);
Tailwind
colors: {
  custom: {
    50: '#888ccf',
    500: '#4d5fba',
    950: '#000000',
  },
}
SCSS
$custom: #4d5fba;
$custom-light: #888ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5fba",
  "rgb": {
    "r": 77,
    "g": 95,
    "b": 186
  },
  "hsl": {
    "h": 230.092,
    "s": 44.13,
    "l": 51.569
  },
  "oklch": {
    "l": 0.51837,
    "c": 0.14378,
    "h": 272.1
  },
  "luminance": 0.13307
}

Semantic roles & 50–950 ramp

primary
#4D5FBA
secondary
#C9C199
accent
#BF54D4
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0C14
muted
#7D7D82

Preview Lab

Preview with #4D5FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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