#4F6CDA#4F6CDA

#4F6CDA is a mid, vivid blue. Relative luminance 0.174; OKLCH L 56.8% C 0.171 H 269.2°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#4F6CDA
RGBrgb(79, 108, 218)
HSLhsl(227, 65%, 58%)
HSVhsv(227, 64%, 85%)
CMYKcmyk(63.8%, 50.5%, 0%, 14.5%)
CIE-LABlab(48.82, 24.02, -59.67)
CIE-LCHlch(48.82, 64.32, 291.92°)
OKLaboklab(56.77% -0.0023 -0.1711)
OKLCHoklch(56.77% 0.171 269.2)
XYZxyz(21.2376, 17.4474, 68.5646)
Luminance0.1745 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F6CDA #DABD4F
analogous
#4FB1DA #4F6CDA #774FDA
triadic
#4F6CDA #DA4F6C #6CDA4F
tetradic
#4F6CDA #DA4FB1 #DABD4F #4FDA77
square
#4F6CDA #DA4FB1 #DABD4F #4FDA77
split-complementary
#4F6CDA #DA774F #B1DA4F
monochromatic
#1E3690 #2949C3 #4F6CDA #8296E5 #B4C0EF

Accessibility & contrast

On white

4.68
#4F6CDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#4F6CDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F6CDA
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F6CDA#FFFFFF#000000##FFFFFF
##4F6CDA1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D7BDE
Deuteranopia (green-blind)
#006ED8
Tritanopia (blue-blind)
#008699
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4f6cda;
/* rgb */ color: rgb(79, 108, 218);
/* oklch */ color: oklch(56.8% 0.171 269.2);
Tailwind
colors: {
  custom: {
    50: '#8e95e6',
    500: '#4f6cda',
    950: '#000000',
  },
}
SCSS
$custom: #4f6cda;
$custom-light: #8e95e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4f6cda",
  "rgb": {
    "r": 79,
    "g": 108,
    "b": 218
  },
  "hsl": {
    "h": 227.482,
    "s": 65.258,
    "l": 58.235
  },
  "oklch": {
    "l": 0.56767,
    "c": 0.1711,
    "h": 269.2
  },
  "luminance": 0.17449
}

Semantic roles & 50–950 ramp

primary
#4F6CDA
secondary
#DED3A7
accent
#C540E8
background
#F9F9FE
surface
#F2F1FC
border
#CCCBD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #4F6CDA

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

Preview Lab → · Contrast checker → · Palette generator →

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