#4D3DCB#4D3DCB

#4D3DCB is a mid, highly saturated blue. Relative luminance 0.092; OKLCH L 47.2% C 0.209 H 279.9°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#4D3DCB
RGBrgb(77, 61, 203)
HSLhsl(247, 58%, 52%)
HSVhsv(247, 70%, 80%)
CMYKcmyk(62.1%, 70%, 0%, 20.4%)
CIE-LABlab(36.42, 47.27, -71.24)
CIE-LCHlch(36.42, 85.50, 303.57°)
OKLaboklab(47.22% 0.0358 -0.2055)
OKLCHoklch(47.22% 0.209 279.9)
XYZxyz(15.5054, 9.2259, 57.4520)
Luminance0.0923 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3DCB #BBCB3D
analogous
#3D74CB #4D3DCB #943DCB
triadic
#4D3DCB #CB4D3D #3DCB4D
tetradic
#4D3DCB #CB3D74 #BBCB3D #3DCB94
square
#4D3DCB #CB3D74 #BBCB3D #3DCB94
split-complementary
#4D3DCB #CB943D #74CB3D
monochromatic
#271E70 #382BA0 #4D3DCB #796DD8 #A69EE5

Accessibility & contrast

On white

7.38
#4D3DCB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#4D3DCB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D3DCB
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D3DCB#FFFFFF#000000##FFFFFF
##4D3DCB1.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCF
Deuteranopia (green-blind)
#0050C8
Tritanopia (blue-blind)
#006380
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4d3dcb;
/* rgb */ color: rgb(77, 61, 203);
/* oklch */ color: oklch(47.2% 0.209 279.9);
Tailwind
colors: {
  custom: {
    50: '#8d74dc',
    500: '#4d3dcb',
    950: '#000000',
  },
}
SCSS
$custom: #4d3dcb;
$custom-light: #8d74dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3dcb",
  "rgb": {
    "r": 77,
    "g": 61,
    "b": 203
  },
  "hsl": {
    "h": 246.761,
    "s": 57.724,
    "l": 51.765
  },
  "oklch": {
    "l": 0.47215,
    "c": 0.20855,
    "h": 279.9
  },
  "luminance": 0.09227
}

Semantic roles & 50–950 ramp

primary
#4D3DCB
secondary
#CAD193
accent
#E147D0
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #4D3DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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