#4A7BD1#4A7BD1

#4A7BD1 is a mid, vivid blue. Relative luminance 0.202; OKLCH L 59.0% C 0.142 H 260.8°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#4A7BD1
RGBrgb(74, 123, 209)
HSLhsl(218, 59%, 55%)
HSVhsv(218, 65%, 82%)
CMYKcmyk(64.6%, 41.1%, 0%, 18%)
CIE-LABlab(52.09, 10.75, -49.34)
CIE-LCHlch(52.09, 50.49, 282.29°)
OKLaboklab(59.03% -0.0227 -0.1406)
OKLCHoklch(59.03% 0.142 260.8)
XYZxyz(21.4116, 20.2232, 63.0843)
Luminance0.2023 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7BD1 #D1A04A
analogous
#4ABED1 #4A7BD1 #5C4AD1
triadic
#4A7BD1 #D14A7B #7BD14A
tetradic
#4A7BD1 #D14ABE #D1A04A #4AD15C
square
#4A7BD1 #D14ABE #D1A04A #4AD15C
split-complementary
#4A7BD1 #D15C4A #BED14A
monochromatic
#214380 #2D5DB1 #4A7BD1 #7B9FDD #ACC2EA

Accessibility & contrast

On white

4.16
#4A7BD1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#4A7BD1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7BD1
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7BD1#FFFFFF#000000##000000
##4A7BD11.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5483D4
Deuteranopia (green-blind)
#3F76CF
Tritanopia (blue-blind)
#008F9C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4a7bd1;
/* rgb */ color: rgb(74, 123, 209);
/* oklch */ color: oklch(59.0% 0.142 260.8);
Tailwind
colors: {
  custom: {
    50: '#89a0df',
    500: '#4a7bd1',
    950: '#000000',
  },
}
SCSS
$custom: #4a7bd1;
$custom-light: #89a0df;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7bd1",
  "rgb": {
    "r": 74,
    "g": 123,
    "b": 209
  },
  "hsl": {
    "h": 218.222,
    "s": 59.471,
    "l": 55.49
  },
  "oklch": {
    "l": 0.5903,
    "c": 0.14241,
    "h": 260.8
  },
  "luminance": 0.20225
}

Semantic roles & 50–950 ramp

primary
#4A7BD1
secondary
#D8C39F
accent
#A945E3
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4A7BD1

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

Preview Lab → · Contrast checker → · Palette generator →

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