#4A7CD1#4A7CD1

#4A7CD1 is a mid, vivid blue. Relative luminance 0.205; OKLCH L 59.2% C 0.141 H 260.4°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#4A7CD1
RGBrgb(74, 124, 209)
HSLhsl(218, 59%, 55%)
HSVhsv(218, 65%, 82%)
CMYKcmyk(64.6%, 40.7%, 0%, 18%)
CIE-LABlab(52.37, 10.14, -48.89)
CIE-LCHlch(52.37, 49.93, 281.71°)
OKLaboklab(59.25% -0.0237 -0.1393)
OKLCHoklch(59.25% 0.141 260.4)
XYZxyz(21.5362, 20.4725, 63.1259)
Luminance0.2047 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7CD1 #D19F4A
analogous
#4ABFD1 #4A7CD1 #5C4AD1
triadic
#4A7CD1 #D14A7C #7CD14A
tetradic
#4A7CD1 #D14ABF #D19F4A #4AD15C
square
#4A7CD1 #D14ABF #D19F4A #4AD15C
split-complementary
#4A7CD1 #D15C4A #BFD14A
monochromatic
#214480 #2D5EB1 #4A7CD1 #7B9FDD #ACC3EA

Accessibility & contrast

On white

4.12
#4A7CD1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#4A7CD1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7CD1
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7CD1#FFFFFF#000000##000000
##4A7CD11.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5684D4
Deuteranopia (green-blind)
#4177CF
Tritanopia (blue-blind)
#008F9C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4a7cd1;
/* rgb */ color: rgb(74, 124, 209);
/* oklch */ color: oklch(59.2% 0.141 260.4);
Tailwind
colors: {
  custom: {
    50: '#89a1df',
    500: '#4a7cd1',
    950: '#000000',
  },
}
SCSS
$custom: #4a7cd1;
$custom-light: #89a1df;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7cd1",
  "rgb": {
    "r": 74,
    "g": 124,
    "b": 209
  },
  "hsl": {
    "h": 217.778,
    "s": 59.471,
    "l": 55.49
  },
  "oklch": {
    "l": 0.59246,
    "c": 0.14128,
    "h": 260.4
  },
  "luminance": 0.20475
}

Semantic roles & 50–950 ramp

primary
#4A7CD1
secondary
#D8C39F
accent
#A845E3
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4A7CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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