#4D4DBF#4D4DBF

#4D4DBF is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.8% C 0.174 H 277.8°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#4D4DBF
RGBrgb(77, 77, 191)
HSLhsl(240, 47%, 53%)
HSVhsv(240, 60%, 75%)
CMYKcmyk(59.7%, 59.7%, 0%, 25.1%)
CIE-LABlab(38.98, 33.92, -60.06)
CIE-LCHlch(38.98, 68.98, 299.45°)
OKLaboklab(48.77% 0.0236 -0.1726)
OKLCHoklch(48.77% 0.174 277.8)
XYZxyz(15.1154, 10.6460, 50.5385)
Luminance0.1065 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4DBF #BFBF4D
analogous
#4D86BF #4D4DBF #864DBF
triadic
#4D4DBF #BF4D4D #4DBF4D
tetradic
#4D4DBF #BF4D86 #BFBF4D #4DBF86
square
#4D4DBF #BF4D86 #BFBF4D #4DBF86
split-complementary
#4D4DBF #BF864D #86BF4D
monochromatic
#27276B #373798 #4D4DBF #7A7ACF #A7A7DF

Accessibility & contrast

On white

6.71
#4D4DBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#4D4DBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D4DBF
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4DBF#FFFFFF#000000##FFFFFF
##4D4DBF1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C3
Deuteranopia (green-blind)
#0057BD
Tritanopia (blue-blind)
#00697E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4d4dbf;
/* rgb */ color: rgb(77, 77, 191);
/* oklch */ color: oklch(48.8% 0.174 277.8);
Tailwind
colors: {
  custom: {
    50: '#8a7fd3',
    500: '#4d4dbf',
    950: '#000000',
  },
}
SCSS
$custom: #4d4dbf;
$custom-light: #8a7fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4dbf",
  "rgb": {
    "r": 77,
    "g": 77,
    "b": 191
  },
  "hsl": {
    "h": 240,
    "s": 47.107,
    "l": 52.549
  },
  "oklch": {
    "l": 0.4877,
    "c": 0.17421,
    "h": 277.8
  },
  "luminance": 0.10647
}

Semantic roles & 50–950 ramp

primary
#4D4DBF
secondary
#CDCD9B
accent
#D751D7
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #4D4DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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