#4D5FBC#4D5FBC

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

Color values

HEX#4D5FBC
RGBrgb(77, 95, 188)
HSLhsl(230, 45%, 52%)
HSVhsv(230, 59%, 74%)
CMYKcmyk(59%, 49.5%, 0%, 26.3%)
CIE-LABlab(43.35, 21.57, -51.25)
CIE-LCHlch(43.35, 55.60, 292.82°)
OKLaboklab(51.97% 0.0054 -0.1465)
OKLCHoklch(51.97% 0.147 272.1)
XYZxyz(16.2269, 13.3918, 49.2970)
Luminance0.1339 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5FBC #BCAA4D
analogous
#4D97BC #4D5FBC #734DBC
triadic
#4D5FBC #BC4D5F #5FBC4D
tetradic
#4D5FBC #BC4D97 #BCAA4D #4DBC73
square
#4D5FBC #BC4D97 #BCAA4D #4DBC73
split-complementary
#4D5FBC #BC734D #97BC4D
monochromatic
#273168 #384794 #4D5FBC #7987CD #A6AFDD

Accessibility & contrast

On white

5.71
#4D5FBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#4D5FBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D5FBC
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5FBC#FFFFFF#000000##FFFFFF
##4D5FBC1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F6BBF
Deuteranopia (green-blind)
#1B62BA
Tritanopia (blue-blind)
#007484
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4d5fbc;
/* rgb */ color: rgb(77, 95, 188);
/* oklch */ color: oklch(52.0% 0.147 272.1);
Tailwind
colors: {
  custom: {
    50: '#888cd1',
    500: '#4d5fbc',
    950: '#000000',
  },
}
SCSS
$custom: #4d5fbc;
$custom-light: #888cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5fbc",
  "rgb": {
    "r": 77,
    "g": 95,
    "b": 188
  },
  "hsl": {
    "h": 230.27,
    "s": 45.306,
    "l": 51.961
  },
  "oklch": {
    "l": 0.51973,
    "c": 0.14661,
    "h": 272.1
  },
  "luminance": 0.13393
}

Semantic roles & 50–950 ramp

primary
#4D5FBC
secondary
#CBC39A
accent
#C053D5
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0C14
muted
#7D7D82

Preview Lab

Preview with #4D5FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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