#4D74DF#4D74DF

#4D74DF is a mid, vivid blue. Relative luminance 0.194; OKLCH L 58.6% C 0.169 H 266.2°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#4D74DF
RGBrgb(77, 116, 223)
HSLhsl(224, 70%, 59%)
HSVhsv(224, 65%, 87%)
CMYKcmyk(65.5%, 48%, 0%, 12.5%)
CIE-LABlab(51.15, 20.44, -58.76)
CIE-LCHlch(51.15, 62.21, 289.18°)
OKLaboklab(58.61% -0.0111 -0.1683)
OKLCHoklch(58.61% 0.169 266.2)
XYZxyz(22.6206, 19.3941, 72.3491)
Luminance0.1940 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D74DF #DFB84D
analogous
#4DBDDF #4D74DF #6F4DDF
triadic
#4D74DF #DF4D74 #74DF4D
tetradic
#4D74DF #DF4DBD #DFB84D #4DDF6F
square
#4D74DF #DF4DBD #DFB84D #4DDF6F
split-complementary
#4D74DF #DF6F4D #BDDF4D
monochromatic
#1B3C97 #2451CA #4D74DF #819DE8 #B5C5F2

Accessibility & contrast

On white

4.30
#4D74DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#4D74DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D74DF
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D74DF#FFFFFF#000000##000000
##4D74DF1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B81E3
Deuteranopia (green-blind)
#1874DD
Tritanopia (blue-blind)
#008D9F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4d74df;
/* rgb */ color: rgb(77, 116, 223);
/* oklch */ color: oklch(58.6% 0.169 266.2);
Tailwind
colors: {
  custom: {
    50: '#8d9bea',
    500: '#4d74df',
    950: '#000000',
  },
}
SCSS
$custom: #4d74df;
$custom-light: #8d9bea;
$custom-dark: #000000;
JSON
{
  "hex": "#4d74df",
  "rgb": {
    "r": 77,
    "g": 116,
    "b": 223
  },
  "hsl": {
    "h": 223.973,
    "s": 69.524,
    "l": 58.824
  },
  "oklch": {
    "l": 0.58609,
    "c": 0.16868,
    "h": 266.2
  },
  "luminance": 0.19396
}

Semantic roles & 50–950 ramp

primary
#4D74DF
secondary
#E1D1A7
accent
#BD3BEC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4D74DF

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

Preview Lab → · Contrast checker → · Palette generator →

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