#4781BA#4781BA

#4781BA is a mid, moderate cyan. Relative luminance 0.206; OKLCH L 58.9% C 0.107 H 249.7°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#4781BA
RGBrgb(71, 129, 186)
HSLhsl(210, 45%, 50%)
HSVhsv(210, 62%, 73%)
CMYKcmyk(61.8%, 30.6%, 0%, 27.1%)
CIE-LABlab(52.49, -1.29, -35.59)
CIE-LCHlch(52.49, 35.62, 267.92°)
OKLaboklab(58.92% -0.0371 -0.1004)
OKLCHoklch(58.92% 0.107 249.7)
XYZxyz(19.3085, 20.5835, 49.4003)
Luminance0.2059 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4781BA #BA8047
analogous
#47BABA #4781BA #4747BA
triadic
#4781BA #BA4781 #81BA47
tetradic
#4781BA #BA47BA #BA8047 #47BA47
square
#4781BA #BA47BA #BA8047 #47BA47
split-complementary
#4781BA #BA4747 #BABA47
monochromatic
#254462 #35628E #4781BA #749FCB #A0BEDB

Accessibility & contrast

On white

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

On black

5.12
#4781BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4781BA
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4781BA#FFFFFF#000000##000000
##4781BA1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6983BC
Deuteranopia (green-blind)
#5978B9
Tritanopia (blue-blind)
#008E95
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4781ba;
/* rgb */ color: rgb(71, 129, 186);
/* oklch */ color: oklch(58.9% 0.107 249.7);
Tailwind
colors: {
  custom: {
    50: '#84a5cf',
    500: '#4781ba',
    950: '#000000',
  },
}
SCSS
$custom: #4781ba;
$custom-light: #84a5cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4781ba",
  "rgb": {
    "r": 71,
    "g": 129,
    "b": 186
  },
  "hsl": {
    "h": 209.739,
    "s": 45.455,
    "l": 50.392
  },
  "oklch": {
    "l": 0.58922,
    "c": 0.10705,
    "h": 249.7
  },
  "luminance": 0.20585
}

Semantic roles & 50–950 ramp

primary
#4781BA
secondary
#C8AE95
accent
#9353D5
background
#F8FAFC
surface
#F0F4F9
border
#CBCED2
text
#0C0F14
muted
#7D7F82

Preview Lab

Preview with #4781BA

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

Preview Lab → · Contrast checker → · Palette generator →

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