#4A74E5#4A74E5

#4A74E5 is a mid, vivid blue. Relative luminance 0.196; OKLCH L 58.9% C 0.178 H 265.8°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#4A74E5
RGBrgb(74, 116, 229)
HSLhsl(224, 75%, 59%)
HSVhsv(224, 68%, 90%)
CMYKcmyk(67.7%, 49.3%, 0%, 10.2%)
CIE-LABlab(51.38, 22.06, -61.76)
CIE-LCHlch(51.38, 65.58, 289.66°)
OKLaboklab(58.87% -0.0129 -0.1772)
OKLCHoklch(58.87% 0.178 265.8)
XYZxyz(23.2074, 19.6015, 76.6740)
Luminance0.1960 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A74E5 #E5BB4A
analogous
#4AC2E5 #4A74E5 #6E4AE5
triadic
#4A74E5 #E54A74 #74E54A
tetradic
#4A74E5 #E54AC2 #E5BB4A #4AE56E
square
#4A74E5 #E54AC2 #E5BB4A #4AE56E
split-complementary
#4A74E5 #E56E4A #C2E54A
monochromatic
#173B9E #1E4FD3 #4A74E5 #809DED #B5C6F4

Accessibility & contrast

On white

4.27
#4A74E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#4A74E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A74E5
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A74E5#FFFFFF#000000##000000
##4A74E51.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3482E9
Deuteranopia (green-blind)
#0074E3
Tritanopia (blue-blind)
#008FA2
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4a74e5;
/* rgb */ color: rgb(74, 116, 229);
/* oklch */ color: oklch(58.9% 0.178 265.8);
Tailwind
colors: {
  custom: {
    50: '#8d9bee',
    500: '#4a74e5',
    950: '#000000',
  },
}
SCSS
$custom: #4a74e5;
$custom-light: #8d9bee;
$custom-dark: #000000;
JSON
{
  "hex": "#4a74e5",
  "rgb": {
    "r": 74,
    "g": 116,
    "b": 229
  },
  "hsl": {
    "h": 223.742,
    "s": 74.879,
    "l": 59.412
  },
  "oklch": {
    "l": 0.58874,
    "c": 0.17767,
    "h": 265.8
  },
  "luminance": 0.19604
}

Semantic roles & 50–950 ramp

primary
#4A74E5
secondary
#E4D3A7
accent
#BF36F1
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #4A74E5

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

Preview Lab → · Contrast checker → · Palette generator →

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