#4D43A2#4D43A2

#4D43A2 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.7% C 0.148 H 283.4°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#4D43A2
RGBrgb(77, 67, 162)
HSLhsl(246, 41%, 45%)
HSVhsv(246, 59%, 64%)
CMYKcmyk(52.5%, 58.6%, 0%, 36.5%)
CIE-LABlab(34.40, 30.70, -50.31)
CIE-LCHlch(34.40, 58.93, 301.39°)
OKLaboklab(44.71% 0.0343 -0.144)
OKLCHoklch(44.71% 0.148 283.4)
XYZxyz(11.5873, 8.2001, 35.1476)
Luminance0.0820 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D43A2 #98A243
analogous
#4368A2 #4D43A2 #7D43A2
triadic
#4D43A2 #A24D43 #43A24D
tetradic
#4D43A2 #A24368 #98A243 #43A27D
square
#4D43A2 #A24368 #98A243 #43A27D
split-complementary
#4D43A2 #A27D43 #68A243
monochromatic
#241F4B #383177 #4D43A2 #6D64BF #968FD1

Accessibility & contrast

On white

7.95
#4D43A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#4D43A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D43A2
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D43A2#FFFFFF#000000##FFFFFF
##4D43A21.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A5
Deuteranopia (green-blind)
#004EA0
Tritanopia (blue-blind)
#2B596C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4d43a2;
/* rgb */ color: rgb(77, 67, 162);
/* oklch */ color: oklch(44.7% 0.148 283.4);
Tailwind
colors: {
  custom: {
    50: '#8677be',
    500: '#4d43a2',
    950: '#000000',
  },
}
SCSS
$custom: #4d43a2;
$custom-light: #8677be;
$custom-dark: #000000;
JSON
{
  "hex": "#4d43a2",
  "rgb": {
    "r": 77,
    "g": 67,
    "b": 162
  },
  "hsl": {
    "h": 246.316,
    "s": 41.485,
    "l": 44.902
  },
  "oklch": {
    "l": 0.44707,
    "c": 0.14801,
    "h": 283.4
  },
  "luminance": 0.08201
}

Semantic roles & 50–950 ramp

primary
#4D43A2
secondary
#B6BC85
accent
#D156C4
background
#F8F7FB
surface
#F0EDF7
border
#CBC8D0
text
#0C0912
muted
#7D7B81

Preview Lab

Preview with #4D43A2

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

Preview Lab → · Contrast checker → · Palette generator →

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