#4D59BE#4D59BE

#4D59BE is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.9% C 0.157 H 274.3°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#4D59BE
RGBrgb(77, 89, 190)
HSLhsl(234, 47%, 52%)
HSVhsv(234, 59%, 75%)
CMYKcmyk(59.5%, 53.2%, 0%, 25.5%)
CIE-LABlab(41.91, 26.05, -54.74)
CIE-LCHlch(41.91, 60.62, 295.45°)
OKLaboklab(50.93% 0.0118 -0.1568)
OKLCHoklch(50.93% 0.157 274.3)
XYZxyz(15.9242, 12.4390, 50.2670)
Luminance0.1244 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D59BE #BEB24D
analogous
#4D92BE #4D59BE #794DBE
triadic
#4D59BE #BE4D59 #59BE4D
tetradic
#4D59BE #BE4D92 #BEB24D #4DBE79
square
#4D59BE #BE4D92 #BEB24D #4DBE79
split-complementary
#4D59BE #BE794D #92BE4D
monochromatic
#272E6A #374197 #4D59BE #7A83CE #A7ADDF

Accessibility & contrast

On white

6.02
#4D59BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#4D59BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D59BE
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D59BE#FFFFFF#000000##FFFFFF
##4D59BE1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B68C2
Deuteranopia (green-blind)
#005EBC
Tritanopia (blue-blind)
#007083
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4d59be;
/* rgb */ color: rgb(77, 89, 190);
/* oklch */ color: oklch(50.9% 0.157 274.3);
Tailwind
colors: {
  custom: {
    50: '#8987d2',
    500: '#4d59be',
    950: '#000000',
  },
}
SCSS
$custom: #4d59be;
$custom-light: #8987d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4d59be",
  "rgb": {
    "r": 77,
    "g": 89,
    "b": 190
  },
  "hsl": {
    "h": 233.628,
    "s": 46.502,
    "l": 52.353
  },
  "oklch": {
    "l": 0.50927,
    "c": 0.15728,
    "h": 274.3
  },
  "luminance": 0.1244
}

Semantic roles & 50–950 ramp

primary
#4D59BE
secondary
#CCC79B
accent
#C852D6
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #4D59BE

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

Preview Lab → · Contrast checker → · Palette generator →

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