#4A7BDC#4A7BDC

#4A7BDC is a mid, vivid blue. Relative luminance 0.208; OKLCH L 59.7% C 0.157 H 262.5°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#4A7BDC
RGBrgb(74, 123, 220)
HSLhsl(220, 68%, 58%)
HSVhsv(220, 66%, 86%)
CMYKcmyk(66.4%, 44.1%, 0%, 13.7%)
CIE-LABlab(52.72, 14.58, -54.55)
CIE-LCHlch(52.72, 56.47, 284.96°)
OKLaboklab(59.72% -0.0206 -0.1559)
OKLCHoklch(59.72% 0.157 262.5)
XYZxyz(22.8207, 20.7868, 70.5059)
Luminance0.2079 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7BDC #DCAB4A
analogous
#4AC4DC #4A7BDC #624ADC
triadic
#4A7BDC #DC4A7B #7BDC4A
tetradic
#4A7BDC #DC4AC4 #DCAB4A #4ADC62
square
#4A7BDC #DC4AC4 #DCAB4A #4ADC62
split-complementary
#4A7BDC #DC624A #C4DC4A
monochromatic
#1C4390 #265BC3 #4A7BDC #7DA0E6 #B1C6F0

Accessibility & contrast

On white

4.07
#4A7BDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#4A7BDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7BDC
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7BDC#FFFFFF#000000##000000
##4A7BDC1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C85E0
Deuteranopia (green-blind)
#3278DA
Tritanopia (blue-blind)
#0091A1
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4a7bdc;
/* rgb */ color: rgb(74, 123, 220);
/* oklch */ color: oklch(59.7% 0.157 262.5);
Tailwind
colors: {
  custom: {
    50: '#8ba0e7',
    500: '#4a7bdc',
    950: '#000000',
  },
}
SCSS
$custom: #4a7bdc;
$custom-light: #8ba0e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7bdc",
  "rgb": {
    "r": 74,
    "g": 123,
    "b": 220
  },
  "hsl": {
    "h": 219.863,
    "s": 67.593,
    "l": 57.647
  },
  "oklch": {
    "l": 0.59717,
    "c": 0.15727,
    "h": 262.5
  },
  "luminance": 0.20789
}

Semantic roles & 50–950 ramp

primary
#4A7BDC
secondary
#DECBA4
accent
#B03DEA
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4A7BDC

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

Preview Lab → · Contrast checker → · Palette generator →

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