#4D59CF#4D59CF

#4D59CF is a mid, vivid blue. Relative luminance 0.132; OKLCH L 52.2% C 0.181 H 274.0°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#4D59CF
RGBrgb(77, 89, 207)
HSLhsl(234, 58%, 56%)
HSVhsv(234, 63%, 81%)
CMYKcmyk(62.8%, 57%, 0%, 18.8%)
CIE-LABlab(43.10, 31.81, -62.64)
CIE-LCHlch(43.10, 70.25, 296.92°)
OKLaboklab(52.2% 0.0124 -0.1801)
OKLCHoklch(52.2% 0.181 274)
XYZxyz(17.8917, 13.2260, 60.6294)
Luminance0.1323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D59CF #CFC34D
analogous
#4D9ACF #4D59CF #824DCF
triadic
#4D59CF #CF4D59 #59CF4D
tetradic
#4D59CF #CF4D9A #CFC34D #4DCF82
square
#4D59CF #CF4D9A #CFC34D #4DCF82
split-complementary
#4D59CF #CF824D #9ACF4D
monochromatic
#222B7F #2F3BAF #4D59CF #7D86DC #ADB3E9

Accessibility & contrast

On white

5.76
#4D59CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#4D59CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D59CF
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D59CF#FFFFFF#000000##FFFFFF
##4D59CF1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD3
Deuteranopia (green-blind)
#0060CD
Tritanopia (blue-blind)
#00758B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4d59cf;
/* rgb */ color: rgb(77, 89, 207);
/* oklch */ color: oklch(52.2% 0.181 274.0);
Tailwind
colors: {
  custom: {
    50: '#8c87de',
    500: '#4d59cf',
    950: '#000000',
  },
}
SCSS
$custom: #4d59cf;
$custom-light: #8c87de;
$custom-dark: #000000;
JSON
{
  "hex": "#4d59cf",
  "rgb": {
    "r": 77,
    "g": 89,
    "b": 207
  },
  "hsl": {
    "h": 234.462,
    "s": 57.522,
    "l": 55.686
  },
  "oklch": {
    "l": 0.52201,
    "c": 0.18052,
    "h": 274
  },
  "luminance": 0.13228
}

Semantic roles & 50–950 ramp

primary
#4D59CF
secondary
#D7D2A1
accent
#D347E1
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4D59CF

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

Preview Lab → · Contrast checker → · Palette generator →

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