#4A7BD3#4A7BD3

#4A7BD3 is a mid, vivid blue. Relative luminance 0.203; OKLCH L 59.2% C 0.145 H 261.2°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#4A7BD3
RGBrgb(74, 123, 211)
HSLhsl(219, 61%, 56%)
HSVhsv(219, 65%, 83%)
CMYKcmyk(64.9%, 41.7%, 0%, 17.3%)
CIE-LABlab(52.20, 11.44, -50.29)
CIE-LCHlch(52.20, 51.58, 282.82°)
OKLaboklab(59.15% -0.0223 -0.1434)
OKLCHoklch(59.15% 0.145 261.2)
XYZxyz(21.6607, 20.3228, 64.3966)
Luminance0.2032 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7BD3 #D3A24A
analogous
#4ABFD3 #4A7BD3 #5D4AD3
triadic
#4A7BD3 #D34A7B #7BD34A
tetradic
#4A7BD3 #D34ABF #D3A24A #4AD35D
square
#4A7BD3 #D34ABF #D3A24A #4AD35D
split-complementary
#4A7BD3 #D35D4A #BFD34A
monochromatic
#204383 #2C5DB4 #4A7BD3 #7B9FDF #ACC3EB

Accessibility & contrast

On white

4.15
#4A7BD3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#4A7BD3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7BD3
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7BD3#FFFFFF#000000##000000
##4A7BD31.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5383D6
Deuteranopia (green-blind)
#3D77D1
Tritanopia (blue-blind)
#008F9D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4a7bd3;
/* rgb */ color: rgb(74, 123, 211);
/* oklch */ color: oklch(59.2% 0.145 261.2);
Tailwind
colors: {
  custom: {
    50: '#8aa0e1',
    500: '#4a7bd3',
    950: '#000000',
  },
}
SCSS
$custom: #4a7bd3;
$custom-light: #8aa0e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7bd3",
  "rgb": {
    "r": 74,
    "g": 123,
    "b": 211
  },
  "hsl": {
    "h": 218.54,
    "s": 60.889,
    "l": 55.882
  },
  "oklch": {
    "l": 0.59153,
    "c": 0.14512,
    "h": 261.2
  },
  "luminance": 0.20325
}

Semantic roles & 50–950 ramp

primary
#4A7BD3
secondary
#D9C4A0
accent
#AB44E4
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4A7BD3

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

Preview Lab → · Contrast checker → · Palette generator →

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