#4D5FBB#4D5FBB

#4D5FBB is a mid, vivid blue. Relative luminance 0.134; OKLCH L 51.9% C 0.145 H 272.1°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#4D5FBB
RGBrgb(77, 95, 187)
HSLhsl(230, 45%, 52%)
HSVhsv(230, 59%, 73%)
CMYKcmyk(58.8%, 49.2%, 0%, 26.7%)
CIE-LABlab(43.28, 21.23, -50.77)
CIE-LCHlch(43.28, 55.03, 292.69°)
OKLaboklab(51.91% 0.0053 -0.1451)
OKLCHoklch(51.91% 0.145 272.1)
XYZxyz(16.1195, 13.3488, 48.7312)
Luminance0.1335 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5FBB #BBA94D
analogous
#4D96BB #4D5FBB #724DBB
triadic
#4D5FBB #BB4D5F #5FBB4D
tetradic
#4D5FBB #BB4D96 #BBA94D #4DBB72
square
#4D5FBB #BB4D96 #BBA94D #4DBB72
split-complementary
#4D5FBB #BB724D #96BB4D
monochromatic
#273266 #384793 #4D5FBB #7987CC #A6AFDD

Accessibility & contrast

On white

5.72
#4D5FBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#4D5FBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D5FBB
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5FBB#FFFFFF#000000##FFFFFF
##4D5FBB1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#306BBE
Deuteranopia (green-blind)
#1D62B9
Tritanopia (blue-blind)
#007484
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4d5fbb;
/* rgb */ color: rgb(77, 95, 187);
/* oklch */ color: oklch(51.9% 0.145 272.1);
Tailwind
colors: {
  custom: {
    50: '#888cd0',
    500: '#4d5fbb',
    950: '#000000',
  },
}
SCSS
$custom: #4d5fbb;
$custom-light: #888cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5fbb",
  "rgb": {
    "r": 77,
    "g": 95,
    "b": 187
  },
  "hsl": {
    "h": 230.182,
    "s": 44.715,
    "l": 51.765
  },
  "oklch": {
    "l": 0.51905,
    "c": 0.1452,
    "h": 272.1
  },
  "luminance": 0.1335
}

Semantic roles & 50–950 ramp

primary
#4D5FBB
secondary
#CAC29A
accent
#BF53D4
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0C14
muted
#7D7D82

Preview Lab

Preview with #4D5FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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