#4D81BE#4D81BE

#4D81BE is a mid, moderate cyan. Relative luminance 0.210; OKLCH L 59.4% C 0.109 H 253.5°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#4D81BE
RGBrgb(77, 129, 190)
HSLhsl(212, 47%, 52%)
HSVhsv(212, 59%, 75%)
CMYKcmyk(59.5%, 32.1%, 0%, 25.5%)
CIE-LABlab(52.94, 1.22, -37.15)
CIE-LCHlch(52.94, 37.17, 271.89°)
OKLaboklab(59.41% -0.0311 -0.1049)
OKLCHoklch(59.41% 0.109 253.5)
XYZxyz(20.2018, 20.9942, 51.6929)
Luminance0.2100 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D81BE #BE8A4D
analogous
#4DBABE #4D81BE #514DBE
triadic
#4D81BE #BE4D81 #81BE4D
tetradic
#4D81BE #BE4DBA #BE8A4D #4DBE51
square
#4D81BE #BE4DBA #BE8A4D #4DBE51
split-complementary
#4D81BE #BE514D #BABE4D
monochromatic
#27466A #376397 #4D81BE #7AA1CE #A7C0DF

Accessibility & contrast

On white

4.04
#4D81BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#4D81BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D81BE
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D81BE#FFFFFF#000000##000000
##4D81BE1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6784C1
Deuteranopia (green-blind)
#5979BD
Tritanopia (blue-blind)
#008F97
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4d81be;
/* rgb */ color: rgb(77, 129, 190);
/* oklch */ color: oklch(59.4% 0.109 253.5);
Tailwind
colors: {
  custom: {
    50: '#88a5d2',
    500: '#4d81be',
    950: '#000000',
  },
}
SCSS
$custom: #4d81be;
$custom-light: #88a5d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4d81be",
  "rgb": {
    "r": 77,
    "g": 129,
    "b": 190
  },
  "hsl": {
    "h": 212.389,
    "s": 46.502,
    "l": 52.353
  },
  "oklch": {
    "l": 0.59412,
    "c": 0.1094,
    "h": 253.5
  },
  "luminance": 0.20996
}

Semantic roles & 50–950 ramp

primary
#4D81BE
secondary
#CCB59B
accent
#9952D6
background
#F8FAFC
surface
#F0F4F9
border
#CBCED2
text
#0C0F14
muted
#7D7F82

Preview Lab

Preview with #4D81BE

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

Preview Lab → · Contrast checker → · Palette generator →

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