#4A74E2#4A74E2

#4A74E2 is a mid, vivid blue. Relative luminance 0.194; OKLCH L 58.7% C 0.174 H 265.6°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#4A74E2
RGBrgb(74, 116, 226)
HSLhsl(223, 72%, 59%)
HSVhsv(223, 67%, 89%)
CMYKcmyk(67.3%, 48.7%, 0%, 11.4%)
CIE-LABlab(51.19, 21.01, -60.38)
CIE-LCHlch(51.19, 63.93, 289.19°)
OKLaboklab(58.67% -0.0133 -0.1731)
OKLCHoklch(58.67% 0.174 265.6)
XYZxyz(22.7921, 19.4354, 74.4870)
Luminance0.1944 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A74E2 #E2B84A
analogous
#4AC0E2 #4A74E2 #6C4AE2
triadic
#4A74E2 #E24A74 #74E24A
tetradic
#4A74E2 #E24AC0 #E2B84A #4AE26C
square
#4A74E2 #E24AC0 #E2B84A #4AE26C
split-complementary
#4A74E2 #E26C4A #C0E24A
monochromatic
#193C99 #2151CE #4A74E2 #7F9DEA #B3C5F3

Accessibility & contrast

On white

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

On black

4.89
#4A74E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A74E2
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A74E2#FFFFFF#000000##000000
##4A74E21.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3781E6
Deuteranopia (green-blind)
#0773E0
Tritanopia (blue-blind)
#008EA0
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4a74e2;
/* rgb */ color: rgb(74, 116, 226);
/* oklch */ color: oklch(58.7% 0.174 265.6);
Tailwind
colors: {
  custom: {
    50: '#8d9bec',
    500: '#4a74e2',
    950: '#000000',
  },
}
SCSS
$custom: #4a74e2;
$custom-light: #8d9bec;
$custom-dark: #000000;
JSON
{
  "hex": "#4a74e2",
  "rgb": {
    "r": 74,
    "g": 116,
    "b": 226
  },
  "hsl": {
    "h": 223.421,
    "s": 72.381,
    "l": 58.824
  },
  "oklch": {
    "l": 0.58668,
    "c": 0.17365,
    "h": 265.6
  },
  "luminance": 0.19438
}

Semantic roles & 50–950 ramp

primary
#4A74E2
secondary
#E2D1A6
accent
#BD39EF
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4A74E2

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

Preview Lab → · Contrast checker → · Palette generator →

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