#4A7BC9#4A7BC9

#4A7BC9 is a mid, vivid blue. Relative luminance 0.198; OKLCH L 58.6% C 0.132 H 259.3°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#4A7BC9
RGBrgb(74, 123, 201)
HSLhsl(217, 54%, 54%)
HSVhsv(217, 63%, 79%)
CMYKcmyk(63.2%, 38.8%, 0%, 21.2%)
CIE-LABlab(51.65, 7.98, -45.48)
CIE-LCHlch(51.65, 46.18, 279.96°)
OKLaboklab(58.55% -0.0244 -0.1293)
OKLCHoklch(58.55% 0.132 259.3)
XYZxyz(20.4459, 19.8369, 57.9984)
Luminance0.1984 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7BC9 #C9984A
analogous
#4ABBC9 #4A7BC9 #594AC9
triadic
#4A7BC9 #C94A7B #7BC94A
tetradic
#4A7BC9 #C94ABB #C9984A #4AC959
square
#4A7BC9 #C94ABB #C9984A #4AC959
split-complementary
#4A7BC9 #C9594A #BBC94A
monochromatic
#234376 #315EA5 #4A7BC9 #799DD7 #A8C0E5

Accessibility & contrast

On white

4.23
#4A7BC9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#4A7BC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7BC9
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7BC9#FFFFFF#000000##000000
##4A7BC91.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5982CC
Deuteranopia (green-blind)
#4776C7
Tritanopia (blue-blind)
#008D98
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4a7bc9;
/* rgb */ color: rgb(74, 123, 201);
/* oklch */ color: oklch(58.6% 0.132 259.3);
Tailwind
colors: {
  custom: {
    50: '#88a0da',
    500: '#4a7bc9',
    950: '#000000',
  },
}
SCSS
$custom: #4a7bc9;
$custom-light: #88a0da;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7bc9",
  "rgb": {
    "r": 74,
    "g": 123,
    "b": 201
  },
  "hsl": {
    "h": 216.85,
    "s": 54.043,
    "l": 53.922
  },
  "oklch": {
    "l": 0.5855,
    "c": 0.13158,
    "h": 259.3
  },
  "luminance": 0.19839
}

Semantic roles & 50–950 ramp

primary
#4A7BC9
secondary
#D2BE9C
accent
#A54ADD
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4A7BC9

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

Preview Lab → · Contrast checker → · Palette generator →

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