#4C7FBB#4C7FBB

#4C7FBB is a mid, moderate cyan. Relative luminance 0.203; OKLCH L 58.8% C 0.108 H 253.5°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#4C7FBB
RGBrgb(76, 127, 187)
HSLhsl(212, 45%, 52%)
HSVhsv(212, 59%, 73%)
CMYKcmyk(59.4%, 32.1%, 0%, 26.7%)
CIE-LABlab(52.18, 1.22, -36.64)
CIE-LCHlch(52.18, 36.67, 271.90°)
OKLaboklab(58.75% -0.0306 -0.1034)
OKLCHoklch(58.75% 0.108 253.5)
XYZxyz(19.5363, 20.3014, 49.8931)
Luminance0.2030 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7FBB #BB884C
analogous
#4CB7BB #4C7FBB #514CBB
triadic
#4C7FBB #BB4C7F #7FBB4C
tetradic
#4C7FBB #BB4CB7 #BB884C #4CBB51
square
#4C7FBB #BB4CB7 #BB884C #4CBB51
split-complementary
#4C7FBB #BB514C #B7BB4C
monochromatic
#274466 #386192 #4C7FBB #789FCC #A5BEDD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C7FBB#FFFFFF#000000##000000
##4C7FBB1.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)
#6682BE
Deuteranopia (green-blind)
#5778BA
Tritanopia (blue-blind)
#008D94
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4c7fbb;
/* rgb */ color: rgb(76, 127, 187);
/* oklch */ color: oklch(58.8% 0.108 253.5);
Tailwind
colors: {
  custom: {
    50: '#87a3cf',
    500: '#4c7fbb',
    950: '#000000',
  },
}
SCSS
$custom: #4c7fbb;
$custom-light: #87a3cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7fbb",
  "rgb": {
    "r": 76,
    "g": 127,
    "b": 187
  },
  "hsl": {
    "h": 212.432,
    "s": 44.939,
    "l": 51.569
  },
  "oklch": {
    "l": 0.58752,
    "c": 0.10786,
    "h": 253.5
  },
  "luminance": 0.20303
}

Semantic roles & 50–950 ramp

primary
#4C7FBB
secondary
#CAB399
accent
#9953D5
background
#F8FAFC
surface
#F0F3F9
border
#CBCDD2
text
#0C0F14
muted
#7D7F82

Preview Lab

Preview with #4C7FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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