#4D74CB#4D74CB

#4D74CB is a mid, vivid blue. Relative luminance 0.184; OKLCH L 57.3% C 0.141 H 264.2°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#4D74CB
RGBrgb(77, 116, 203)
HSLhsl(221, 55%, 55%)
HSVhsv(221, 62%, 80%)
CMYKcmyk(62.1%, 42.9%, 0%, 20.4%)
CIE-LABlab(49.95, 13.52, -49.32)
CIE-LCHlch(49.95, 51.14, 285.33°)
OKLaboklab(57.31% -0.0142 -0.1406)
OKLCHoklch(57.31% 0.141 264.2)
XYZxyz(20.0817, 18.3786, 58.9775)
Luminance0.1838 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D74CB #CBA44D
analogous
#4DB3CB #4D74CB #654DCB
triadic
#4D74CB #CB4D74 #74CB4D
tetradic
#4D74CB #CB4DB3 #CBA44D #4DCB65
square
#4D74CB #CB4DB3 #CBA44D #4DCB65
split-complementary
#4D74CB #CB654D #B3CB4D
monochromatic
#243E7A #3157A9 #4D74CB #7C99D9 #ACBEE7

Accessibility & contrast

On white

4.49
#4D74CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#4D74CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D74CB
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D74CB#FFFFFF#000000##000000
##4D74CB1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C7DCE
Deuteranopia (green-blind)
#3971C9
Tritanopia (blue-blind)
#008895
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4d74cb;
/* rgb */ color: rgb(77, 116, 203);
/* oklch */ color: oklch(57.3% 0.141 264.2);
Tailwind
colors: {
  custom: {
    50: '#8a9bdb',
    500: '#4d74cb',
    950: '#000000',
  },
}
SCSS
$custom: #4d74cb;
$custom-light: #8a9bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#4d74cb",
  "rgb": {
    "r": 77,
    "g": 116,
    "b": 203
  },
  "hsl": {
    "h": 221.429,
    "s": 54.783,
    "l": 54.902
  },
  "oklch": {
    "l": 0.57311,
    "c": 0.1413,
    "h": 264.2
  },
  "luminance": 0.1838
}

Semantic roles & 50–950 ramp

primary
#4D74CB
secondary
#D4C49F
accent
#B04ADE
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4D74CB

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

Preview Lab → · Contrast checker → · Palette generator →

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