#4A74DF#4A74DF

#4A74DF is a mid, vivid blue. Relative luminance 0.193; OKLCH L 58.5% C 0.170 H 265.4°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#4A74DF
RGBrgb(74, 116, 223)
HSLhsl(223, 70%, 58%)
HSVhsv(223, 67%, 87%)
CMYKcmyk(66.8%, 48%, 0%, 12.5%)
CIE-LABlab(51.00, 19.96, -58.99)
CIE-LCHlch(51.00, 62.28, 288.69°)
OKLaboklab(58.46% -0.0137 -0.1691)
OKLCHoklch(58.46% 0.17 265.4)
XYZxyz(22.3841, 19.2722, 72.3380)
Luminance0.1927 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A74DF #DFB54A
analogous
#4ABFDF #4A74DF #6A4ADF
triadic
#4A74DF #DF4A74 #74DF4A
tetradic
#4A74DF #DF4ABF #DFB54A #4ADF6A
square
#4A74DF #DF4ABF #DFB54A #4ADF6A
split-complementary
#4A74DF #DF6A4A #BFDF4A
monochromatic
#1A3D94 #2352C8 #4A74DF #7E9CE8 #B2C4F1

Accessibility & contrast

On white

4.33
#4A74DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#4A74DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A74DF
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A74DF#FFFFFF#000000##000000
##4A74DF1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B81E3
Deuteranopia (green-blind)
#1473DD
Tritanopia (blue-blind)
#008D9F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4a74df;
/* rgb */ color: rgb(74, 116, 223);
/* oklch */ color: oklch(58.5% 0.170 265.4);
Tailwind
colors: {
  custom: {
    50: '#8c9bea',
    500: '#4a74df',
    950: '#000000',
  },
}
SCSS
$custom: #4a74df;
$custom-light: #8c9bea;
$custom-dark: #000000;
JSON
{
  "hex": "#4a74df",
  "rgb": {
    "r": 74,
    "g": 116,
    "b": 223
  },
  "hsl": {
    "h": 223.087,
    "s": 69.953,
    "l": 58.235
  },
  "oklch": {
    "l": 0.58463,
    "c": 0.16962,
    "h": 265.4
  },
  "luminance": 0.19274
}

Semantic roles & 50–950 ramp

primary
#4A74DF
secondary
#E0CFA5
accent
#BB3BED
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4A74DF

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

Preview Lab → · Contrast checker → · Palette generator →

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