#4A7ACF#4A7ACF

#4A7ACF is a mid, vivid blue. Relative luminance 0.199; OKLCH L 58.7% C 0.141 H 261.0°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#4A7ACF
RGBrgb(74, 122, 207)
HSLhsl(218, 58%, 55%)
HSVhsv(218, 64%, 81%)
CMYKcmyk(64.3%, 41.1%, 0%, 18.8%)
CIE-LABlab(51.70, 10.67, -48.82)
CIE-LCHlch(51.70, 49.97, 282.33°)
OKLaboklab(58.69% -0.0221 -0.1391)
OKLCHoklch(58.69% 0.141 261)
XYZxyz(21.0421, 19.8779, 61.7473)
Luminance0.1988 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7ACF #CF9F4A
analogous
#4ABCCF #4A7ACF #5C4ACF
triadic
#4A7ACF #CF4A7A #7ACF4A
tetradic
#4A7ACF #CF4ABC #CF9F4A #4ACF5C
square
#4A7ACF #CF4ABC #CF9F4A #4ACF5C
split-complementary
#4A7ACF #CF5C4A #BCCF4A
monochromatic
#21427D #2E5CAE #4A7ACF #7A9EDC #ABC1E9

Accessibility & contrast

On white

4.22
#4A7ACF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#4A7ACF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7ACF
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7ACF#FFFFFF#000000##000000
##4A7ACF1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5382D2
Deuteranopia (green-blind)
#3F76CD
Tritanopia (blue-blind)
#008D9A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4a7acf;
/* rgb */ color: rgb(74, 122, 207);
/* oklch */ color: oklch(58.7% 0.141 261.0);
Tailwind
colors: {
  custom: {
    50: '#89a0de',
    500: '#4a7acf',
    950: '#000000',
  },
}
SCSS
$custom: #4a7acf;
$custom-light: #89a0de;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7acf",
  "rgb": {
    "r": 74,
    "g": 122,
    "b": 207
  },
  "hsl": {
    "h": 218.346,
    "s": 58.079,
    "l": 55.098
  },
  "oklch": {
    "l": 0.58693,
    "c": 0.14084,
    "h": 261
  },
  "luminance": 0.1988
}

Semantic roles & 50–950 ramp

primary
#4A7ACF
secondary
#D6C29F
accent
#A946E1
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0D0E15
muted
#7D7E83

Preview Lab

Preview with #4A7ACF

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

Preview Lab → · Contrast checker → · Palette generator →

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