#4A7DCE#4A7DCE

#4A7DCE is a mid, vivid blue. Relative luminance 0.206; OKLCH L 59.3% C 0.136 H 259.3°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#4A7DCE
RGBrgb(74, 125, 206)
HSLhsl(217, 57%, 55%)
HSVhsv(217, 64%, 81%)
CMYKcmyk(64.1%, 39.3%, 0%, 19.2%)
CIE-LABlab(52.48, 8.49, -47.01)
CIE-LCHlch(52.48, 47.77, 280.24°)
OKLaboklab(59.28% -0.0253 -0.1337)
OKLCHoklch(59.28% 0.136 259.3)
XYZxyz(21.2943, 20.5773, 61.2302)
Luminance0.2058 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7DCE #CE9B4A
analogous
#4ABFCE #4A7DCE #594ACE
triadic
#4A7DCE #CE4A7D #7DCE4A
tetradic
#4A7DCE #CE4ABF #CE9B4A #4ACE59
square
#4A7DCE #CE4ABF #CE9B4A #4ACE59
split-complementary
#4A7DCE #CE594A #BFCE4A
monochromatic
#22457C #2F5FAC #4A7DCE #7AA0DB #AAC2E8

Accessibility & contrast

On white

4.10
#4A7DCE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#4A7DCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7DCE
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7DCE#FFFFFF#000000##000000
##4A7DCE1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5984D1
Deuteranopia (green-blind)
#4678CC
Tritanopia (blue-blind)
#008F9B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4a7dce;
/* rgb */ color: rgb(74, 125, 206);
/* oklch */ color: oklch(59.3% 0.136 259.3);
Tailwind
colors: {
  custom: {
    50: '#89a2dd',
    500: '#4a7dce',
    950: '#000000',
  },
}
SCSS
$custom: #4a7dce;
$custom-light: #89a2dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7dce",
  "rgb": {
    "r": 74,
    "g": 125,
    "b": 206
  },
  "hsl": {
    "h": 216.818,
    "s": 57.391,
    "l": 54.902
  },
  "oklch": {
    "l": 0.59283,
    "c": 0.13611,
    "h": 259.3
  },
  "luminance": 0.20579
}

Semantic roles & 50–950 ramp

primary
#4A7DCE
secondary
#D6C09E
accent
#A547E1
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0D0F15
muted
#7D7E83

Preview Lab

Preview with #4A7DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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