#4D43B2#4D43B2

#4D43B2 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 46.0% C 0.170 H 281.5°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#4D43B2
RGBrgb(77, 67, 178)
HSLhsl(245, 45%, 48%)
HSVhsv(245, 62%, 70%)
CMYKcmyk(56.7%, 62.4%, 0%, 30.2%)
CIE-LABlab(35.61, 35.84, -57.89)
CIE-LCHlch(35.61, 68.09, 301.76°)
OKLaboklab(45.98% 0.0337 -0.1663)
OKLCHoklch(45.98% 0.17 281.5)
XYZxyz(13.1011, 8.8056, 43.1201)
Luminance0.0881 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D43B2 #A8B243
analogous
#4371B2 #4D43B2 #8443B2
triadic
#4D43B2 #B24D43 #43B24D
tetradic
#4D43B2 #B24371 #A8B243 #43B284
square
#4D43B2 #B24371 #A8B243 #43B284
split-complementary
#4D43B2 #B28443 #71B243
monochromatic
#272259 #3A3286 #4D43B2 #736BC7 #9D97D8

Accessibility & contrast

On white

7.61
#4D43B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#4D43B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D43B2
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D43B2#FFFFFF#000000##FFFFFF
##4D43B21.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B6
Deuteranopia (green-blind)
#0050B0
Tritanopia (blue-blind)
#185E74
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4d43b2;
/* rgb */ color: rgb(77, 67, 178);
/* oklch */ color: oklch(46.0% 0.170 281.5);
Tailwind
colors: {
  custom: {
    50: '#8878ca',
    500: '#4d43b2',
    950: '#000000',
  },
}
SCSS
$custom: #4d43b2;
$custom-light: #8878ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4d43b2",
  "rgb": {
    "r": 77,
    "g": 67,
    "b": 178
  },
  "hsl": {
    "h": 245.405,
    "s": 45.306,
    "l": 48.039
  },
  "oklch": {
    "l": 0.45978,
    "c": 0.16967,
    "h": 281.5
  },
  "luminance": 0.08806
}

Semantic roles & 50–950 ramp

primary
#4D43B2
secondary
#BFC48D
accent
#D553C9
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4D43B2

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

Preview Lab → · Contrast checker → · Palette generator →

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