#4D54C8#4D54C8

#4D54C8 is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.7% C 0.177 H 275.5°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#4D54C8
RGBrgb(77, 84, 200)
HSLhsl(237, 53%, 54%)
HSVhsv(237, 62%, 78%)
CMYKcmyk(61.5%, 58%, 0%, 21.6%)
CIE-LABlab(41.35, 32.56, -61.44)
CIE-LCHlch(41.35, 69.53, 297.93°)
OKLaboklab(50.74% 0.0169 -0.1766)
OKLCHoklch(50.74% 0.177 275.5)
XYZxyz(16.6528, 12.0872, 56.0879)
Luminance0.1209 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D54C8 #C8C14D
analogous
#4D92C8 #4D54C8 #834DC8
triadic
#4D54C8 #C84D54 #54C84D
tetradic
#4D54C8 #C84D92 #C8C14D #4DC883
square
#4D54C8 #C84D92 #C8C14D #4DC883
split-complementary
#4D54C8 #C8834D #92C84D
monochromatic
#242976 #3339A5 #4D54C8 #7C81D6 #ABAEE5

Accessibility & contrast

On white

6.14
#4D54C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#4D54C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D54C8
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D54C8#FFFFFF#000000##FFFFFF
##4D54C81.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CC
Deuteranopia (green-blind)
#005CC6
Tritanopia (blue-blind)
#007086
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4d54c8;
/* rgb */ color: rgb(77, 84, 200);
/* oklch */ color: oklch(50.7% 0.177 275.5);
Tailwind
colors: {
  custom: {
    50: '#8b84da',
    500: '#4d54c8',
    950: '#000000',
  },
}
SCSS
$custom: #4d54c8;
$custom-light: #8b84da;
$custom-dark: #000000;
JSON
{
  "hex": "#4d54c8",
  "rgb": {
    "r": 77,
    "g": 84,
    "b": 200
  },
  "hsl": {
    "h": 236.585,
    "s": 52.79,
    "l": 54.314
  },
  "oklch": {
    "l": 0.50741,
    "c": 0.17741,
    "h": 275.5
  },
  "luminance": 0.12089
}

Semantic roles & 50–950 ramp

primary
#4D54C8
secondary
#D2D09E
accent
#D44CDC
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4D54C8

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

Preview Lab → · Contrast checker → · Palette generator →

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