#4A7BD8#4A7BD8

#4A7BD8 is a mid, vivid blue. Relative luminance 0.206; OKLCH L 59.5% C 0.152 H 261.9°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#4A7BD8
RGBrgb(74, 123, 216)
HSLhsl(219, 65%, 57%)
HSVhsv(219, 66%, 85%)
CMYKcmyk(65.7%, 43.1%, 0%, 15.3%)
CIE-LABlab(52.48, 13.18, -52.67)
CIE-LCHlch(52.48, 54.29, 284.05°)
OKLaboklab(59.46% -0.0213 -0.1504)
OKLCHoklch(59.46% 0.152 261.9)
XYZxyz(22.2973, 20.5775, 67.7492)
Luminance0.2058 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7BD8 #D8A74A
analogous
#4AC2D8 #4A7BD8 #604AD8
triadic
#4A7BD8 #D84A7B #7BD84A
tetradic
#4A7BD8 #D84AC2 #D8A74A #4AD860
square
#4A7BD8 #D84AC2 #D8A74A #4AD860
split-complementary
#4A7BD8 #D8604A #C2D84A
monochromatic
#1E438A #295CBC #4A7BD8 #7CA0E3 #AFC4EE

Accessibility & contrast

On white

4.10
#4A7BD8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#4A7BD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7BD8
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7BD8#FFFFFF#000000##000000
##4A7BD81.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F84DC
Deuteranopia (green-blind)
#3877D6
Tritanopia (blue-blind)
#00909F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4a7bd8;
/* rgb */ color: rgb(74, 123, 216);
/* oklch */ color: oklch(59.5% 0.152 261.9);
Tailwind
colors: {
  custom: {
    50: '#8ba0e4',
    500: '#4a7bd8',
    950: '#000000',
  },
}
SCSS
$custom: #4a7bd8;
$custom-light: #8ba0e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7bd8",
  "rgb": {
    "r": 74,
    "g": 123,
    "b": 216
  },
  "hsl": {
    "h": 219.296,
    "s": 64.545,
    "l": 56.863
  },
  "oklch": {
    "l": 0.59464,
    "c": 0.15187,
    "h": 261.9
  },
  "luminance": 0.2058
}

Semantic roles & 50–950 ramp

primary
#4A7BD8
secondary
#DCC8A2
accent
#AE40E8
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4A7BD8

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

Preview Lab → · Contrast checker → · Palette generator →

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