#4C74DB#4C74DB

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

Color values

HEX#4C74DB
RGBrgb(76, 116, 219)
HSLhsl(223, 67%, 58%)
HSVhsv(223, 65%, 86%)
CMYKcmyk(65.3%, 47%, 0%, 14.1%)
CIE-LABlab(50.85, 18.88, -56.97)
CIE-LCHlch(50.85, 60.02, 288.34°)
OKLaboklab(58.29% -0.0125 -0.1631)
OKLCHoklch(58.29% 0.164 265.6)
XYZxyz(22.0076, 19.1397, 69.5386)
Luminance0.1914 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C74DB #DBB34C
analogous
#4CBBDB #4C74DB #6B4CDB
triadic
#4C74DB #DB4C74 #74DB4C
tetradic
#4C74DB #DB4CBB #DBB34C #4CDB6B
square
#4C74DB #DB4CBB #DBB34C #4CDB6B
split-complementary
#4C74DB #DB6B4C #BBDB4C
monochromatic
#1D3D90 #2753C3 #4C74DB #7F9CE5 #B2C3EF

Accessibility & contrast

On white

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

On black

4.83
#4C74DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C74DB
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C74DB#FFFFFF#000000##000000
##4C74DB1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c74db;
/* rgb */ color: rgb(76, 116, 219);
/* oklch */ color: oklch(58.3% 0.164 265.6);
Tailwind
colors: {
  custom: {
    50: '#8c9be7',
    500: '#4c74db',
    950: '#000000',
  },
}
SCSS
$custom: #4c74db;
$custom-light: #8c9be7;
$custom-dark: #000000;
JSON
{
  "hex": "#4c74db",
  "rgb": {
    "r": 76,
    "g": 116,
    "b": 219
  },
  "hsl": {
    "h": 223.217,
    "s": 66.512,
    "l": 57.843
  },
  "oklch": {
    "l": 0.58292,
    "c": 0.16358,
    "h": 265.6
  },
  "luminance": 0.19142
}

Semantic roles & 50–950 ramp

primary
#4C74DB
secondary
#DECEA5
accent
#BA3EE9
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4C74DB

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

Preview Lab → · Contrast checker → · Palette generator →

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