#4A7BCA#4A7BCA

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

Color values

HEX#4A7BCA
RGBrgb(74, 123, 202)
HSLhsl(217, 55%, 54%)
HSVhsv(217, 63%, 79%)
CMYKcmyk(63.4%, 39.1%, 0%, 20.8%)
CIE-LABlab(51.71, 8.33, -45.97)
CIE-LCHlch(51.71, 46.72, 280.27°)
OKLaboklab(58.61% -0.0242 -0.1307)
OKLCHoklch(58.61% 0.133 259.5)
XYZxyz(20.5639, 19.8841, 58.6200)
Luminance0.1989 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7BCA #CA994A
analogous
#4ABBCA #4A7BCA #594ACA
triadic
#4A7BCA #CA4A7B #7BCA4A
tetradic
#4A7BCA #CA4ABB #CA994A #4ACA59
square
#4A7BCA #CA4ABB #CA994A #4ACA59
split-complementary
#4A7BCA #CA594A #BBCA4A
monochromatic
#234377 #315EA6 #4A7BCA #799ED8 #A9C0E6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4A7BCA#FFFFFF#000000##000000
##4A7BCA1.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)
#5882CD
Deuteranopia (green-blind)
#4676C8
Tritanopia (blue-blind)
#008D99
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4a7bca;
/* rgb */ color: rgb(74, 123, 202);
/* oklch */ color: oklch(58.6% 0.133 259.5);
Tailwind
colors: {
  custom: {
    50: '#88a0da',
    500: '#4a7bca',
    950: '#000000',
  },
}
SCSS
$custom: #4a7bca;
$custom-light: #88a0da;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7bca",
  "rgb": {
    "r": 74,
    "g": 123,
    "b": 202
  },
  "hsl": {
    "h": 217.031,
    "s": 54.701,
    "l": 54.118
  },
  "oklch": {
    "l": 0.58609,
    "c": 0.13293,
    "h": 259.5
  },
  "luminance": 0.19886
}

Semantic roles & 50–950 ramp

primary
#4A7BCA
secondary
#D3BE9D
accent
#A54ADE
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4A7BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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