#4C7BDA#4C7BDA

#4C7BDA is a mid, vivid blue. Relative luminance 0.208; OKLCH L 59.7% C 0.154 H 262.8°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#4C7BDA
RGBrgb(76, 123, 218)
HSLhsl(220, 66%, 58%)
HSVhsv(220, 65%, 85%)
CMYKcmyk(65.1%, 43.6%, 0%, 14.5%)
CIE-LABlab(52.69, 14.21, -53.47)
CIE-LCHlch(52.69, 55.32, 284.88°)
OKLaboklab(59.68% -0.0193 -0.1527)
OKLCHoklch(59.68% 0.154 262.8)
XYZxyz(22.7139, 20.7622, 69.1266)
Luminance0.2076 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7BDA #DAAB4C
analogous
#4CC2DA #4C7BDA #644CDA
triadic
#4C7BDA #DA4C7B #7BDA4C
tetradic
#4C7BDA #DA4CC2 #DAAB4C #4CDA64
square
#4C7BDA #DA4CC2 #DAAB4C #4CDA64
split-complementary
#4C7BDA #DA644C #C2DA4C
monochromatic
#1D438E #285BC1 #4C7BDA #7FA0E4 #B1C6EF

Accessibility & contrast

On white

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

On black

5.15
#4C7BDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C7BDA
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7BDA#FFFFFF#000000##000000
##4C7BDA1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E85DE
Deuteranopia (green-blind)
#3678D8
Tritanopia (blue-blind)
#0091A0
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4c7bda;
/* rgb */ color: rgb(76, 123, 218);
/* oklch */ color: oklch(59.7% 0.154 262.8);
Tailwind
colors: {
  custom: {
    50: '#8ca0e6',
    500: '#4c7bda',
    950: '#000000',
  },
}
SCSS
$custom: #4c7bda;
$custom-light: #8ca0e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7bda",
  "rgb": {
    "r": 76,
    "g": 123,
    "b": 218
  },
  "hsl": {
    "h": 220.141,
    "s": 65.741,
    "l": 57.647
  },
  "oklch": {
    "l": 0.59683,
    "c": 0.1539,
    "h": 262.8
  },
  "luminance": 0.20764
}

Semantic roles & 50–950 ramp

primary
#4C7BDA
secondary
#DDCBA4
accent
#B13FE9
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4C7BDA

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

Preview Lab → · Contrast checker → · Palette generator →

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