#4A7BD9#4A7BD9

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

Color values

HEX#4A7BD9
RGBrgb(74, 123, 217)
HSLhsl(219, 65%, 57%)
HSVhsv(219, 66%, 85%)
CMYKcmyk(65.9%, 43.3%, 0%, 14.9%)
CIE-LABlab(52.54, 13.53, -53.14)
CIE-LCHlch(52.54, 54.84, 284.29°)
OKLaboklab(59.53% -0.0211 -0.1518)
OKLCHoklch(59.53% 0.153 262.1)
XYZxyz(22.4270, 20.6293, 68.4321)
Luminance0.2063 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7BD9 #D9A84A
analogous
#4AC2D9 #4A7BD9 #614AD9
triadic
#4A7BD9 #D94A7B #7BD94A
tetradic
#4A7BD9 #D94AC2 #D9A84A #4AD961
square
#4A7BD9 #D94AC2 #D9A84A #4AD961
split-complementary
#4A7BD9 #D9614A #C2D94A
monochromatic
#1D438B #285BBE #4A7BD9 #7DA0E4 #AFC5EE

Accessibility & contrast

On white

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

On black

5.13
#4A7BD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7BD9
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7BD9#FFFFFF#000000##000000
##4A7BD91.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E84DD
Deuteranopia (green-blind)
#3677D7
Tritanopia (blue-blind)
#00919F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4a7bd9;
/* rgb */ color: rgb(74, 123, 217);
/* oklch */ color: oklch(59.5% 0.153 262.1);
Tailwind
colors: {
  custom: {
    50: '#8ba0e5',
    500: '#4a7bd9',
    950: '#000000',
  },
}
SCSS
$custom: #4a7bd9;
$custom-light: #8ba0e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7bd9",
  "rgb": {
    "r": 74,
    "g": 123,
    "b": 217
  },
  "hsl": {
    "h": 219.441,
    "s": 65.297,
    "l": 57.059
  },
  "oklch": {
    "l": 0.59527,
    "c": 0.15323,
    "h": 262.1
  },
  "luminance": 0.20632
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4A7BD9

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

Preview Lab → · Contrast checker → · Palette generator →

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