#4F82CA#4F82CA

#4F82CA is a mid, vivid blue. Relative luminance 0.219; OKLCH L 60.4% C 0.123 H 257.2°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#4F82CA
RGBrgb(79, 130, 202)
HSLhsl(215, 54%, 55%)
HSVhsv(215, 61%, 79%)
CMYKcmyk(60.9%, 35.6%, 0%, 20.8%)
CIE-LABlab(53.91, 5.03, -42.46)
CIE-LCHlch(53.91, 42.76, 276.75°)
OKLaboklab(60.39% -0.0273 -0.1203)
OKLCHoklch(60.39% 0.123 257.2)
XYZxyz(21.8640, 21.8898, 58.9386)
Luminance0.2189 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F82CA #CA974F
analogous
#4FC0CA #4F82CA #594FCA
triadic
#4F82CA #CA4F82 #82CA4F
tetradic
#4F82CA #CA4FC0 #CA974F #4FCA59
square
#4F82CA #CA4FC0 #CA974F #4FCA59
split-complementary
#4F82CA #CA594F #C0CA4F
monochromatic
#25487A #3364A9 #4F82CA #7EA3D8 #ADC5E6

Accessibility & contrast

On white

3.90
#4F82CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#4F82CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F82CA
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F82CA#FFFFFF#000000##000000
##4F82CA1.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6387CD
Deuteranopia (green-blind)
#537CC9
Tritanopia (blue-blind)
#00929C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4f82ca;
/* rgb */ color: rgb(79, 130, 202);
/* oklch */ color: oklch(60.4% 0.123 257.2);
Tailwind
colors: {
  custom: {
    50: '#8ba5da',
    500: '#4f82ca',
    950: '#000000',
  },
}
SCSS
$custom: #4f82ca;
$custom-light: #8ba5da;
$custom-dark: #000000;
JSON
{
  "hex": "#4f82ca",
  "rgb": {
    "r": 79,
    "g": 130,
    "b": 202
  },
  "hsl": {
    "h": 215.122,
    "s": 53.712,
    "l": 55.098
  },
  "oklch": {
    "l": 0.60385,
    "c": 0.12337,
    "h": 257.2
  },
  "luminance": 0.21892
}

Semantic roles & 50–950 ramp

primary
#4F82CA
secondary
#D4BFA1
accent
#A04BDD
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #4F82CA

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

Preview Lab → · Contrast checker → · Palette generator →

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