#4A81CF#4A81CF

#4A81CF is a mid, vivid blue. Relative luminance 0.217; OKLCH L 60.2% C 0.133 H 257.3°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#4A81CF
RGBrgb(74, 129, 207)
HSLhsl(215, 58%, 55%)
HSVhsv(215, 64%, 81%)
CMYKcmyk(64.3%, 37.7%, 0%, 18.8%)
CIE-LABlab(53.66, 6.41, -45.70)
CIE-LCHlch(53.66, 46.15, 277.98°)
OKLaboklab(60.22% -0.0291 -0.1299)
OKLCHoklch(60.22% 0.133 257.3)
XYZxyz(21.9327, 21.6592, 62.0442)
Luminance0.2166 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A81CF #CF984A
analogous
#4AC4CF #4A81CF #554ACF
triadic
#4A81CF #CF4A81 #81CF4A
tetradic
#4A81CF #CF4AC4 #CF984A #4ACF55
square
#4A81CF #CF4AC4 #CF984A #4ACF55
split-complementary
#4A81CF #CF554A #C4CF4A
monochromatic
#21477D #2E63AE #4A81CF #7AA3DC #ABC4E9

Accessibility & contrast

On white

3.94
#4A81CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#4A81CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A81CF
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A81CF#FFFFFF#000000##000000
##4A81CF1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F87D2
Deuteranopia (green-blind)
#4C7BCD
Tritanopia (blue-blind)
#00939E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4a81cf;
/* rgb */ color: rgb(74, 129, 207);
/* oklch */ color: oklch(60.2% 0.133 257.3);
Tailwind
colors: {
  custom: {
    50: '#89a5de',
    500: '#4a81cf',
    950: '#000000',
  },
}
SCSS
$custom: #4a81cf;
$custom-light: #89a5de;
$custom-dark: #000000;
JSON
{
  "hex": "#4a81cf",
  "rgb": {
    "r": 74,
    "g": 129,
    "b": 207
  },
  "hsl": {
    "h": 215.188,
    "s": 58.079,
    "l": 55.098
  },
  "oklch": {
    "l": 0.60217,
    "c": 0.13309,
    "h": 257.3
  },
  "luminance": 0.21661
}

Semantic roles & 50–950 ramp

primary
#4A81CF
secondary
#D6BF9F
accent
#A146E1
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0D0F15
muted
#7D7F83

Preview Lab

Preview with #4A81CF

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

Preview Lab → · Contrast checker → · Palette generator →

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