#4A7CDC#4A7CDC

#4A7CDC is a mid, vivid blue. Relative luminance 0.210; OKLCH L 59.9% C 0.156 H 262.1°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#4A7CDC
RGBrgb(74, 124, 220)
HSLhsl(219, 68%, 58%)
HSVhsv(219, 66%, 86%)
CMYKcmyk(66.4%, 43.6%, 0%, 13.7%)
CIE-LABlab(52.99, 13.96, -54.12)
CIE-LCHlch(52.99, 55.89, 284.47°)
OKLaboklab(59.93% -0.0216 -0.1546)
OKLCHoklch(59.93% 0.156 262.1)
XYZxyz(22.9454, 21.0362, 70.5474)
Luminance0.2104 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7CDC #DCAA4A
analogous
#4AC5DC #4A7CDC #614ADC
triadic
#4A7CDC #DC4A7C #7CDC4A
tetradic
#4A7CDC #DC4AC5 #DCAA4A #4ADC61
square
#4A7CDC #DC4AC5 #DCAA4A #4ADC61
split-complementary
#4A7CDC #DC614A #C5DC4A
monochromatic
#1C4490 #265CC3 #4A7CDC #7DA1E6 #B1C6F0

Accessibility & contrast

On white

4.03
#4A7CDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#4A7CDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7CDC
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7CDC#FFFFFF#000000##000000
##4A7CDC1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E86E0
Deuteranopia (green-blind)
#3578DA
Tritanopia (blue-blind)
#0092A1
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4a7cdc;
/* rgb */ color: rgb(74, 124, 220);
/* oklch */ color: oklch(59.9% 0.156 262.1);
Tailwind
colors: {
  custom: {
    50: '#8ba1e7',
    500: '#4a7cdc',
    950: '#000000',
  },
}
SCSS
$custom: #4a7cdc;
$custom-light: #8ba1e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7cdc",
  "rgb": {
    "r": 74,
    "g": 124,
    "b": 220
  },
  "hsl": {
    "h": 219.452,
    "s": 67.593,
    "l": 57.647
  },
  "oklch": {
    "l": 0.59927,
    "c": 0.15611,
    "h": 262.1
  },
  "luminance": 0.21038
}

Semantic roles & 50–950 ramp

primary
#4A7CDC
secondary
#DECAA4
accent
#AF3DEA
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4A7CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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