#4B81CF#4B81CF

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

Color values

HEX#4B81CF
RGBrgb(75, 129, 207)
HSLhsl(215, 58%, 55%)
HSVhsv(215, 64%, 81%)
CMYKcmyk(63.8%, 37.7%, 0%, 18.8%)
CIE-LABlab(53.71, 6.58, -45.63)
CIE-LCHlch(53.71, 46.10, 278.21°)
OKLaboklab(60.26% -0.0283 -0.1296)
OKLCHoklch(60.26% 0.133 257.7)
XYZxyz(22.0104, 21.6993, 62.0478)
Luminance0.2170 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B81CF #CF994B
analogous
#4BC3CF #4B81CF #574BCF
triadic
#4B81CF #CF4B81 #81CF4B
tetradic
#4B81CF #CF4BC3 #CF994B #4BCF57
square
#4B81CF #CF4BC3 #CF994B #4BCF57
split-complementary
#4B81CF #CF574B #C3CF4B
monochromatic
#22477E #2E63AE #4B81CF #7BA3DC #ACC5E9

Accessibility & contrast

On white

3.93
#4B81CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#4B81CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4B81CF
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B81CF#FFFFFF#000000##000000
##4B81CF1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.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: #4b81cf;
/* rgb */ color: rgb(75, 129, 207);
/* oklch */ color: oklch(60.3% 0.133 257.7);
Tailwind
colors: {
  custom: {
    50: '#89a5de',
    500: '#4b81cf',
    950: '#000000',
  },
}
SCSS
$custom: #4b81cf;
$custom-light: #89a5de;
$custom-dark: #000000;
JSON
{
  "hex": "#4b81cf",
  "rgb": {
    "r": 75,
    "g": 129,
    "b": 207
  },
  "hsl": {
    "h": 215.455,
    "s": 57.895,
    "l": 55.294
  },
  "oklch": {
    "l": 0.60262,
    "c": 0.1327,
    "h": 257.7
  },
  "luminance": 0.21701
}

Semantic roles & 50–950 ramp

primary
#4B81CF
secondary
#D6C09F
accent
#A247E1
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #4B81CF

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

Preview Lab → · Contrast checker → · Palette generator →

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