#4D4BAF#4D4BAF

#4D4BAF is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.2% C 0.155 H 279.5°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#4D4BAF
RGBrgb(77, 75, 175)
HSLhsl(241, 40%, 49%)
HSVhsv(241, 57%, 69%)
CMYKcmyk(56%, 57.1%, 0%, 31.4%)
CIE-LABlab(37.31, 29.89, -53.36)
CIE-LCHlch(37.31, 61.16, 299.26°)
OKLaboklab(47.16% 0.0257 -0.1529)
OKLCHoklch(47.16% 0.155 279.5)
XYZxyz(13.3121, 9.7042, 41.7208)
Luminance0.0970 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4BAF #ADAF4B
analogous
#4B7BAF #4D4BAF #7F4BAF
triadic
#4D4BAF #AF4D4B #4BAF4D
tetradic
#4D4BAF #AF4B7B #ADAF4B #4BAF7F
square
#4D4BAF #AF4B7B #ADAF4B #4BAF7F
split-complementary
#4D4BAF #AF7F4B #7BAF4B
monochromatic
#272659 #3A3984 #4D4BAF #7574C3 #A09FD6

Accessibility & contrast

On white

7.14
#4D4BAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#4D4BAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D4BAF
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4BAF#FFFFFF#000000##FFFFFF
##4D4BAF1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB2
Deuteranopia (green-blind)
#0054AD
Tritanopia (blue-blind)
#1B6275
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4d4baf;
/* rgb */ color: rgb(77, 75, 175);
/* oklch */ color: oklch(47.2% 0.155 279.5);
Tailwind
colors: {
  custom: {
    50: '#877dc8',
    500: '#4d4baf',
    950: '#000000',
  },
}
SCSS
$custom: #4d4baf;
$custom-light: #877dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4baf",
  "rgb": {
    "r": 77,
    "g": 75,
    "b": 175
  },
  "hsl": {
    "h": 241.2,
    "s": 40,
    "l": 49.02
  },
  "oklch": {
    "l": 0.4716,
    "c": 0.15505,
    "h": 279.5
  },
  "luminance": 0.09705
}

Semantic roles & 50–950 ramp

primary
#4D4BAF
secondary
#C2C293
accent
#D058CD
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4D4BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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