#4A74DC#4A74DC

#4A74DC is a mid, vivid blue. Relative luminance 0.191; OKLCH L 58.3% C 0.166 H 265.1°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#4A74DC
RGBrgb(74, 116, 220)
HSLhsl(223, 68%, 58%)
HSVhsv(223, 66%, 86%)
CMYKcmyk(66.4%, 47.3%, 0%, 13.7%)
CIE-LABlab(50.82, 18.91, -57.60)
CIE-LCHlch(50.82, 60.62, 288.18°)
OKLaboklab(58.26% -0.0141 -0.165)
OKLCHoklch(58.26% 0.166 265.1)
XYZxyz(21.9832, 19.1118, 70.2267)
Luminance0.1911 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A74DC #DCB24A
analogous
#4ABDDC #4A74DC #694ADC
triadic
#4A74DC #DC4A74 #74DC4A
tetradic
#4A74DC #DC4ABD #DCB24A #4ADC69
square
#4A74DC #DC4ABD #DCB24A #4ADC69
split-complementary
#4A74DC #DC694A #BDDC4A
monochromatic
#1C3D90 #2653C3 #4A74DC #7D9BE6 #B1C3F0

Accessibility & contrast

On white

4.35
#4A74DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#4A74DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A74DC
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A74DC#FFFFFF#000000##000000
##4A74DC1.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E80E0
Deuteranopia (green-blind)
#1D73DA
Tritanopia (blue-blind)
#008C9D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4a74dc;
/* rgb */ color: rgb(74, 116, 220);
/* oklch */ color: oklch(58.3% 0.166 265.1);
Tailwind
colors: {
  custom: {
    50: '#8b9be7',
    500: '#4a74dc',
    950: '#000000',
  },
}
SCSS
$custom: #4a74dc;
$custom-light: #8b9be7;
$custom-dark: #000000;
JSON
{
  "hex": "#4a74dc",
  "rgb": {
    "r": 74,
    "g": 116,
    "b": 220
  },
  "hsl": {
    "h": 222.74,
    "s": 67.593,
    "l": 57.647
  },
  "oklch": {
    "l": 0.58261,
    "c": 0.16557,
    "h": 265.1
  },
  "luminance": 0.19114
}

Semantic roles & 50–950 ramp

primary
#4A74DC
secondary
#DECDA4
accent
#B93DEA
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4A74DC

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

Preview Lab → · Contrast checker → · Palette generator →

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