#4A74DB#4A74DB

#4A74DB is a mid, vivid blue. Relative luminance 0.191; OKLCH L 58.2% C 0.164 H 265.0°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#4A74DB
RGBrgb(74, 116, 219)
HSLhsl(223, 67%, 57%)
HSVhsv(223, 66%, 86%)
CMYKcmyk(66.2%, 47%, 0%, 14.1%)
CIE-LABlab(50.76, 18.56, -57.13)
CIE-LCHlch(50.76, 60.07, 288.00°)
OKLaboklab(58.19% -0.0142 -0.1636)
OKLCHoklch(58.19% 0.164 265)
XYZxyz(21.8512, 19.0590, 69.5313)
Luminance0.1906 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A74DB #DBB14A
analogous
#4ABCDB #4A74DB #694ADB
triadic
#4A74DB #DB4A74 #74DB4A
tetradic
#4A74DB #DB4ABC #DBB14A #4ADB69
square
#4A74DB #DB4ABC #DBB14A #4ADB69
split-complementary
#4A74DB #DB694A #BCDB4A
monochromatic
#1C3D8E #2653C1 #4A74DB #7D9BE5 #B0C2EF

Accessibility & contrast

On white

4.36
#4A74DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#4A74DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A74DB
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A74DB#FFFFFF#000000##000000
##4A74DB1.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a74db;
/* rgb */ color: rgb(74, 116, 219);
/* oklch */ color: oklch(58.2% 0.164 265.0);
Tailwind
colors: {
  custom: {
    50: '#8b9be7',
    500: '#4a74db',
    950: '#000000',
  },
}
SCSS
$custom: #4a74db;
$custom-light: #8b9be7;
$custom-dark: #000000;
JSON
{
  "hex": "#4a74db",
  "rgb": {
    "r": 74,
    "g": 116,
    "b": 219
  },
  "hsl": {
    "h": 222.621,
    "s": 66.82,
    "l": 57.451
  },
  "oklch": {
    "l": 0.58194,
    "c": 0.16422,
    "h": 265
  },
  "luminance": 0.19061
}

Semantic roles & 50–950 ramp

primary
#4A74DB
secondary
#DECDA3
accent
#B83EEA
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4A74DB

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

Preview Lab → · Contrast checker → · Palette generator →

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