#4A7BCE#4A7BCE

#4A7BCE is a mid, vivid blue. Relative luminance 0.201; OKLCH L 58.8% C 0.138 H 260.3°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#4A7BCE
RGBrgb(74, 123, 206)
HSLhsl(218, 57%, 55%)
HSVhsv(218, 64%, 81%)
CMYKcmyk(64.1%, 40.3%, 0%, 19.2%)
CIE-LABlab(51.92, 9.71, -47.90)
CIE-LCHlch(51.92, 48.87, 281.46°)
OKLaboklab(58.85% -0.0233 -0.1364)
OKLCHoklch(58.85% 0.138 260.3)
XYZxyz(21.0436, 20.0760, 61.1466)
Luminance0.2008 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7BCE #CE9D4A
analogous
#4ABDCE #4A7BCE #5B4ACE
triadic
#4A7BCE #CE4A7B #7BCE4A
tetradic
#4A7BCE #CE4ABD #CE9D4A #4ACE5B
square
#4A7BCE #CE4ABD #CE9D4A #4ACE5B
split-complementary
#4A7BCE #CE5B4A #BDCE4A
monochromatic
#22437C #2F5DAC #4A7BCE #7A9EDB #AAC1E8

Accessibility & contrast

On white

4.19
#4A7BCE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#4A7BCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7BCE
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7BCE#FFFFFF#000000##000000
##4A7BCE1.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5682D1
Deuteranopia (green-blind)
#4276CC
Tritanopia (blue-blind)
#008E9A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4a7bce;
/* rgb */ color: rgb(74, 123, 206);
/* oklch */ color: oklch(58.8% 0.138 260.3);
Tailwind
colors: {
  custom: {
    50: '#89a0dd',
    500: '#4a7bce',
    950: '#000000',
  },
}
SCSS
$custom: #4a7bce;
$custom-light: #89a0dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7bce",
  "rgb": {
    "r": 74,
    "g": 123,
    "b": 206
  },
  "hsl": {
    "h": 217.727,
    "s": 57.391,
    "l": 54.902
  },
  "oklch": {
    "l": 0.58848,
    "c": 0.13835,
    "h": 260.3
  },
  "luminance": 0.20078
}

Semantic roles & 50–950 ramp

primary
#4A7BCE
secondary
#D6C19E
accent
#A847E1
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0D0E15
muted
#7D7E83

Preview Lab

Preview with #4A7BCE

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

Preview Lab → · Contrast checker → · Palette generator →

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