#4A7BC1#4A7BC1

#4A7BC1 is a mid, vivid blue. Relative luminance 0.195; OKLCH L 58.1% C 0.121 H 257.4°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#4A7BC1
RGBrgb(74, 123, 193)
HSLhsl(215, 49%, 52%)
HSVhsv(215, 62%, 76%)
CMYKcmyk(61.7%, 36.3%, 0%, 24.3%)
CIE-LABlab(51.23, 5.25, -41.58)
CIE-LCHlch(51.23, 41.91, 277.19°)
OKLaboklab(58.09% -0.0263 -0.1179)
OKLCHoklch(58.09% 0.121 257.4)
XYZxyz(19.5292, 19.4702, 53.1707)
Luminance0.1947 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7BC1 #C1904A
analogous
#4AB7C1 #4A7BC1 #554AC1
triadic
#4A7BC1 #C14A7B #7BC14A
tetradic
#4A7BC1 #C14AB7 #C1904A #4AC155
square
#4A7BC1 #C14AB7 #C1904A #4AC155
split-complementary
#4A7BC1 #C1554A #B7C14A
monochromatic
#25426C #355E99 #4A7BC1 #789CD1 #A5BDE0

Accessibility & contrast

On white

4.29
#4A7BC1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#4A7BC1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7BC1
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7BC1#FFFFFF#000000##000000
##4A7BC11.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D80C4
Deuteranopia (green-blind)
#4D75C0
Tritanopia (blue-blind)
#008B95
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4a7bc1;
/* rgb */ color: rgb(74, 123, 193);
/* oklch */ color: oklch(58.1% 0.121 257.4);
Tailwind
colors: {
  custom: {
    50: '#87a0d4',
    500: '#4a7bc1',
    950: '#000000',
  },
}
SCSS
$custom: #4a7bc1;
$custom-light: #87a0d4;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7bc1",
  "rgb": {
    "r": 74,
    "g": 123,
    "b": 193
  },
  "hsl": {
    "h": 215.294,
    "s": 48.971,
    "l": 52.353
  },
  "oklch": {
    "l": 0.58087,
    "c": 0.12077,
    "h": 257.4
  },
  "luminance": 0.19472
}

Semantic roles & 50–950 ramp

primary
#4A7BC1
secondary
#CDB899
accent
#A04FD9
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #4A7BC1

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

Preview Lab → · Contrast checker → · Palette generator →

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