#4A7DCD#4A7DCD

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

Color values

HEX#4A7DCD
RGBrgb(74, 125, 205)
HSLhsl(217, 57%, 55%)
HSVhsv(217, 64%, 80%)
CMYKcmyk(63.9%, 39%, 0%, 19.6%)
CIE-LABlab(52.43, 8.14, -46.52)
CIE-LCHlch(52.43, 47.23, 279.93°)
OKLaboklab(59.22% -0.0255 -0.1323)
OKLCHoklch(59.22% 0.135 259.1)
XYZxyz(21.1732, 20.5288, 60.5924)
Luminance0.2053 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7DCD #CD9A4A
analogous
#4ABFCD #4A7DCD #584ACD
triadic
#4A7DCD #CD4A7D #7DCD4A
tetradic
#4A7DCD #CD4ABF #CD9A4A #4ACD58
square
#4A7DCD #CD4ABF #CD9A4A #4ACD58
split-complementary
#4A7DCD #CD584A #BFCD4A
monochromatic
#22447B #2F5FAB #4A7DCD #7A9FDA #AAC2E7

Accessibility & contrast

On white

4.11
#4A7DCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#4A7DCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7DCD
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7DCD#FFFFFF#000000##000000
##4A7DCD1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A84D0
Deuteranopia (green-blind)
#4777CB
Tritanopia (blue-blind)
#008F9B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4a7dcd;
/* rgb */ color: rgb(74, 125, 205);
/* oklch */ color: oklch(59.2% 0.135 259.1);
Tailwind
colors: {
  custom: {
    50: '#89a2dd',
    500: '#4a7dcd',
    950: '#000000',
  },
}
SCSS
$custom: #4a7dcd;
$custom-light: #89a2dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7dcd",
  "rgb": {
    "r": 74,
    "g": 125,
    "b": 205
  },
  "hsl": {
    "h": 216.641,
    "s": 56.71,
    "l": 54.706
  },
  "oklch": {
    "l": 0.59224,
    "c": 0.13476,
    "h": 259.1
  },
  "luminance": 0.20531
}

Semantic roles & 50–950 ramp

primary
#4A7DCD
secondary
#D5C09E
accent
#A548E0
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0D0F15
muted
#7D7E83

Preview Lab

Preview with #4A7DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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