#4A7DB7#4A7DB7

#4A7DB7 is a mid, moderate cyan. Relative luminance 0.195; OKLCH L 58.0% C 0.105 H 252.8°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#4A7DB7
RGBrgb(74, 125, 183)
HSLhsl(212, 43%, 50%)
HSVhsv(212, 60%, 72%)
CMYKcmyk(59.6%, 31.7%, 0%, 28.2%)
CIE-LABlab(51.31, 0.67, -35.71)
CIE-LCHlch(51.31, 35.71, 271.08°)
OKLaboklab(57.99% -0.0312 -0.1008)
OKLCHoklch(57.99% 0.105 252.8)
XYZxyz(18.7018, 19.5403, 47.5767)
Luminance0.1954 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7DB7 #B7844A
analogous
#4AB3B7 #4A7DB7 #4E4AB7
triadic
#4A7DB7 #B74A7D #7DB74A
tetradic
#4A7DB7 #B74AB3 #B7844A #4AB74E
square
#4A7DB7 #B74AB3 #B7844A #4AB74E
split-complementary
#4A7DB7 #B74E4A #B3B74A
monochromatic
#264160 #385F8C #4A7DB7 #769CC8 #A2BCDA

Accessibility & contrast

On white

4.28
#4A7DB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#4A7DB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7DB7
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7DB7#FFFFFF#000000##000000
##4A7DB71.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6580B9
Deuteranopia (green-blind)
#5676B6
Tritanopia (blue-blind)
#008A92
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4a7db7;
/* rgb */ color: rgb(74, 125, 183);
/* oklch */ color: oklch(58.0% 0.105 252.8);
Tailwind
colors: {
  custom: {
    50: '#85a2cd',
    500: '#4a7db7',
    950: '#000000',
  },
}
SCSS
$custom: #4a7db7;
$custom-light: #85a2cd;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7db7",
  "rgb": {
    "r": 74,
    "g": 125,
    "b": 183
  },
  "hsl": {
    "h": 211.927,
    "s": 43.083,
    "l": 50.392
  },
  "oklch": {
    "l": 0.57988,
    "c": 0.10546,
    "h": 252.8
  },
  "luminance": 0.19542
}

Semantic roles & 50–950 ramp

primary
#4A7DB7
secondary
#C7B096
accent
#9855D3
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0F13
muted
#7D7E82

Preview Lab

Preview with #4A7DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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