#4D38BC#4D38BC

#4D38BC is a mid, vivid blue. Relative luminance 0.080; OKLCH L 45.1% C 0.196 H 282.5°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#4D38BC
RGBrgb(77, 56, 188)
HSLhsl(250, 54%, 48%)
HSVhsv(250, 70%, 74%)
CMYKcmyk(59%, 70.2%, 0%, 26.3%)
CIE-LABlab(34.06, 45.42, -66.33)
CIE-LCHlch(34.06, 80.40, 304.40°)
OKLaboklab(45.12% 0.0422 -0.1911)
OKLCHoklch(45.12% 0.196 282.5)
XYZxyz(13.5490, 8.0361, 48.4043)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D38BC #A7BC38
analogous
#3865BC #4D38BC #8F38BC
triadic
#4D38BC #BC4D38 #38BC4D
tetradic
#4D38BC #BC3865 #A7BC38 #38BC8F
square
#4D38BC #BC3865 #A7BC38 #38BC8F
split-complementary
#4D38BC #BC8F38 #65BC38
monochromatic
#261C5E #3A2A8D #4D38BC #7361D0 #9D90DE

Accessibility & contrast

On white

8.05
#4D38BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#4D38BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D38BC
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D38BC#FFFFFF#000000##FFFFFF
##4D38BC1.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C0
Deuteranopia (green-blind)
#004BB9
Tritanopia (blue-blind)
#015B76
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4d38bc;
/* rgb */ color: rgb(77, 56, 188);
/* oklch */ color: oklch(45.1% 0.196 282.5);
Tailwind
colors: {
  custom: {
    50: '#8b71d1',
    500: '#4d38bc',
    950: '#000000',
  },
}
SCSS
$custom: #4d38bc;
$custom-light: #8b71d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4d38bc",
  "rgb": {
    "r": 77,
    "g": 56,
    "b": 188
  },
  "hsl": {
    "h": 249.545,
    "s": 54.098,
    "l": 47.843
  },
  "oklch": {
    "l": 0.45118,
    "c": 0.19567,
    "h": 282.5
  },
  "luminance": 0.08037
}

Semantic roles & 50–950 ramp

primary
#4D38BC
secondary
#BEC987
accent
#DD4AC6
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #4D38BC

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

Preview Lab → · Contrast checker → · Palette generator →

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