#4781BB#4781BB

#4781BB is a mid, moderate cyan. Relative luminance 0.206; OKLCH L 59.0% C 0.108 H 250.1°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#4781BB
RGBrgb(71, 129, 187)
HSLhsl(210, 46%, 51%)
HSVhsv(210, 62%, 73%)
CMYKcmyk(62%, 31%, 0%, 26.7%)
CIE-LABlab(52.54, -0.95, -36.09)
CIE-LCHlch(52.54, 36.11, 268.49°)
OKLaboklab(58.98% -0.0368 -0.1019)
OKLCHoklch(58.98% 0.108 250.1)
XYZxyz(19.4152, 20.6261, 49.9621)
Luminance0.2063 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4781BB #BB8147
analogous
#47BBBB #4781BB #4747BB
triadic
#4781BB #BB4781 #81BB47
tetradic
#4781BB #BB47BB #BB8147 #47BB47
square
#4781BB #BB47BB #BB8147 #47BB47
split-complementary
#4781BB #BB4747 #BBBB47
monochromatic
#254463 #356290 #4781BB #74A0CC #A0BEDC

Accessibility & contrast

On white

4.10
#4781BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#4781BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4781BB
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4781BB#FFFFFF#000000##000000
##4781BB1.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6884BE
Deuteranopia (green-blind)
#5978BA
Tritanopia (blue-blind)
#008F96
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4781bb;
/* rgb */ color: rgb(71, 129, 187);
/* oklch */ color: oklch(59.0% 0.108 250.1);
Tailwind
colors: {
  custom: {
    50: '#85a5cf',
    500: '#4781bb',
    950: '#000000',
  },
}
SCSS
$custom: #4781bb;
$custom-light: #85a5cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4781bb",
  "rgb": {
    "r": 71,
    "g": 129,
    "b": 187
  },
  "hsl": {
    "h": 210,
    "s": 46.032,
    "l": 50.588
  },
  "oklch": {
    "l": 0.58975,
    "c": 0.10831,
    "h": 250.1
  },
  "luminance": 0.20628
}

Semantic roles & 50–950 ramp

primary
#4781BB
secondary
#C9AF95
accent
#9452D6
background
#F8FAFC
surface
#F0F4F9
border
#CBCED2
text
#0C0F14
muted
#7D7F82

Preview Lab

Preview with #4781BB

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

Preview Lab → · Contrast checker → · Palette generator →

#4781BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva