#4A7ACB#4A7ACB

#4A7ACB is a mid, vivid blue. Relative luminance 0.197; OKLCH L 58.5% C 0.135 H 260.3°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#4A7ACB
RGBrgb(74, 122, 203)
HSLhsl(218, 55%, 54%)
HSVhsv(218, 64%, 80%)
CMYKcmyk(63.5%, 39.9%, 0%, 20.4%)
CIE-LABlab(51.48, 9.28, -46.90)
CIE-LCHlch(51.48, 47.81, 281.20°)
OKLaboklab(58.45% -0.0229 -0.1335)
OKLCHoklch(58.45% 0.135 260.3)
XYZxyz(20.5593, 19.6848, 59.2044)
Luminance0.1969 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7ACB #CB9B4A
analogous
#4ABBCB #4A7ACB #5A4ACB
triadic
#4A7ACB #CB4A7A #7ACB4A
tetradic
#4A7ACB #CB4ABB #CB9B4A #4ACB5A
square
#4A7ACB #CB4ABB #CB9B4A #4ACB5A
split-complementary
#4A7ACB #CB5A4A #BBCB4A
monochromatic
#234278 #305DA8 #4A7ACB #7A9DD9 #A9C0E6

Accessibility & contrast

On white

4.25
#4A7ACB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#4A7ACB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7ACB
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7ACB#FFFFFF#000000##000000
##4A7ACB1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5681CE
Deuteranopia (green-blind)
#4375C9
Tritanopia (blue-blind)
#008C99
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4a7acb;
/* rgb */ color: rgb(74, 122, 203);
/* oklch */ color: oklch(58.5% 0.135 260.3);
Tailwind
colors: {
  custom: {
    50: '#88a0db',
    500: '#4a7acb',
    950: '#000000',
  },
}
SCSS
$custom: #4a7acb;
$custom-light: #88a0db;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7acb",
  "rgb": {
    "r": 74,
    "g": 122,
    "b": 203
  },
  "hsl": {
    "h": 217.674,
    "s": 55.365,
    "l": 54.314
  },
  "oklch": {
    "l": 0.58451,
    "c": 0.1354,
    "h": 260.3
  },
  "luminance": 0.19687
}

Semantic roles & 50–950 ramp

primary
#4A7ACB
secondary
#D4BF9D
accent
#A749DF
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4A7ACB

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

Preview Lab → · Contrast checker → · Palette generator →

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