#4E82CF#4E82CF

#4E82CF is a mid, vivid blue. Relative luminance 0.221; OKLCH L 60.6% C 0.130 H 258.1°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#4E82CF
RGBrgb(78, 130, 207)
HSLhsl(216, 57%, 56%)
HSVhsv(216, 62%, 81%)
CMYKcmyk(62.3%, 37.2%, 0%, 18.8%)
CIE-LABlab(54.12, 6.52, -44.97)
CIE-LCHlch(54.12, 45.44, 278.26°)
OKLaboklab(60.62% -0.0269 -0.1276)
OKLCHoklch(60.62% 0.13 258.1)
XYZxyz(22.3830, 22.0879, 62.1032)
Luminance0.2209 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E82CF #CF9B4E
analogous
#4EC2CF #4E82CF #5A4ECF
triadic
#4E82CF #CF4E82 #82CF4E
tetradic
#4E82CF #CF4EC2 #CF9B4E #4ECF5A
square
#4E82CF #CF4EC2 #CF9B4E #4ECF5A
split-complementary
#4E82CF #CF5A4E #C2CF4E
monochromatic
#234880 #3063B0 #4E82CF #7EA4DC #AEC6E9

Accessibility & contrast

On white

3.88
#4E82CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#4E82CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E82CF
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E82CF#FFFFFF#000000##000000
##4E82CF1.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6188D2
Deuteranopia (green-blind)
#4F7CCD
Tritanopia (blue-blind)
#00939F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4e82cf;
/* rgb */ color: rgb(78, 130, 207);
/* oklch */ color: oklch(60.6% 0.130 258.1);
Tailwind
colors: {
  custom: {
    50: '#8ba5de',
    500: '#4e82cf',
    950: '#000000',
  },
}
SCSS
$custom: #4e82cf;
$custom-light: #8ba5de;
$custom-dark: #000000;
JSON
{
  "hex": "#4e82cf",
  "rgb": {
    "r": 78,
    "g": 130,
    "b": 207
  },
  "hsl": {
    "h": 215.814,
    "s": 57.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.6062,
    "c": 0.13045,
    "h": 258.1
  },
  "luminance": 0.2209
}

Semantic roles & 50–950 ramp

primary
#4E82CF
secondary
#D7C2A2
accent
#A347E1
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #4E82CF

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

Preview Lab → · Contrast checker → · Palette generator →

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