#4F6ABC#4F6ABC

#4F6ABC is a mid, vivid blue. Relative luminance 0.156; OKLCH L 54.4% C 0.132 H 268.1°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#4F6ABC
RGBrgb(79, 106, 188)
HSLhsl(225, 45%, 52%)
HSVhsv(225, 58%, 74%)
CMYKcmyk(58%, 43.6%, 0%, 26.3%)
CIE-LABlab(46.45, 15.03, -46.28)
CIE-LCHlch(46.45, 48.66, 287.99°)
OKLaboklab(54.37% -0.0043 -0.1317)
OKLCHoklch(54.37% 0.132 268.1)
XYZxyz(17.4525, 15.5998, 49.6586)
Luminance0.1560 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F6ABC #BCA14F
analogous
#4FA0BC #4F6ABC #6B4FBC
triadic
#4F6ABC #BC4F6A #6ABC4F
tetradic
#4F6ABC #BC4FA0 #BCA14F #4FBC6B
square
#4F6ABC #BC4FA0 #BCA14F #4FBC6B
split-complementary
#4F6ABC #BC6B4F #A0BC4F
monochromatic
#283869 #395095 #4F6ABC #7B90CD #A8B5DE

Accessibility & contrast

On white

5.10
#4F6ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#4F6ABC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F6ABC
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F6ABC#FFFFFF#000000##FFFFFF
##4F6ABC1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4673BF
Deuteranopia (green-blind)
#3769BA
Tritanopia (blue-blind)
#007C8A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4f6abc;
/* rgb */ color: rgb(79, 106, 188);
/* oklch */ color: oklch(54.4% 0.132 268.1);
Tailwind
colors: {
  custom: {
    50: '#8994d0',
    500: '#4f6abc',
    950: '#000000',
  },
}
SCSS
$custom: #4f6abc;
$custom-light: #8994d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4f6abc",
  "rgb": {
    "r": 79,
    "g": 106,
    "b": 188
  },
  "hsl": {
    "h": 225.138,
    "s": 44.856,
    "l": 52.353
  },
  "oklch": {
    "l": 0.54366,
    "c": 0.13182,
    "h": 268.1
  },
  "luminance": 0.15601
}

Semantic roles & 50–950 ramp

primary
#4F6ABC
secondary
#CBBF9C
accent
#B553D5
background
#F8F9FC
surface
#F0F1F9
border
#CBCBD2
text
#0C0D14
muted
#7D7E82

Preview Lab

Preview with #4F6ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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