#4C7BD9#4C7BD9

#4C7BD9 is a mid, vivid blue. Relative luminance 0.207; OKLCH L 59.6% C 0.153 H 262.7°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#4C7BD9
RGBrgb(76, 123, 217)
HSLhsl(220, 65%, 57%)
HSVhsv(220, 65%, 85%)
CMYKcmyk(65%, 43.3%, 0%, 14.9%)
CIE-LABlab(52.63, 13.86, -52.99)
CIE-LCHlch(52.63, 54.78, 284.66°)
OKLaboklab(59.62% -0.0195 -0.1513)
OKLCHoklch(59.62% 0.153 262.7)
XYZxyz(22.5834, 20.7100, 68.4395)
Luminance0.2071 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7BD9 #D9AA4C
analogous
#4CC2D9 #4C7BD9 #644CD9
triadic
#4C7BD9 #D94C7B #7BD94C
tetradic
#4C7BD9 #D94CC2 #D9AA4C #4CD964
square
#4C7BD9 #D94CC2 #D9AA4C #4CD964
split-complementary
#4C7BD9 #D9644C #C2D94C
monochromatic
#1E438D #295BBF #4C7BD9 #7EA0E4 #B1C5EE

Accessibility & contrast

On white

4.08
#4C7BD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#4C7BD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C7BD9
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7BD9#FFFFFF#000000##000000
##4C7BD91.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F85DD
Deuteranopia (green-blind)
#3778D7
Tritanopia (blue-blind)
#00919F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4c7bd9;
/* rgb */ color: rgb(76, 123, 217);
/* oklch */ color: oklch(59.6% 0.153 262.7);
Tailwind
colors: {
  custom: {
    50: '#8ca0e5',
    500: '#4c7bd9',
    950: '#000000',
  },
}
SCSS
$custom: #4c7bd9;
$custom-light: #8ca0e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7bd9",
  "rgb": {
    "r": 76,
    "g": 123,
    "b": 217
  },
  "hsl": {
    "h": 220,
    "s": 64.977,
    "l": 57.451
  },
  "oklch": {
    "l": 0.5962,
    "c": 0.15254,
    "h": 262.7
  },
  "luminance": 0.20712
}

Semantic roles & 50–950 ramp

primary
#4C7BD9
secondary
#DDCAA4
accent
#B040E8
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4C7BD9

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

Preview Lab → · Contrast checker → · Palette generator →

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