#4F6ABA#4F6ABA

#4F6ABA is a mid, vivid blue. Relative luminance 0.155; OKLCH L 54.2% C 0.129 H 267.9°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#4F6ABA
RGBrgb(79, 106, 186)
HSLhsl(225, 44%, 52%)
HSVhsv(225, 58%, 73%)
CMYKcmyk(57.5%, 43%, 0%, 27.1%)
CIE-LABlab(46.33, 14.36, -45.31)
CIE-LCHlch(46.33, 47.53, 287.58°)
OKLaboklab(54.24% -0.0047 -0.1289)
OKLCHoklch(54.24% 0.129 267.9)
XYZxyz(17.2384, 15.5142, 48.5310)
Luminance0.1552 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F6ABA #BA9F4F
analogous
#4F9FBA #4F6ABA #6A4FBA
triadic
#4F6ABA #BA4F6A #6ABA4F
tetradic
#4F6ABA #BA4F9F #BA9F4F #4FBA6A
square
#4F6ABA #BA4F9F #BA9F4F #4FBA6A
split-complementary
#4F6ABA #BA6A4F #9FBA4F
monochromatic
#283866 #395092 #4F6ABA #7B8FCB #A7B4DC

Accessibility & contrast

On white

5.12
#4F6ABA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#4F6ABA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F6ABA
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F6ABA#FFFFFF#000000##FFFFFF
##4F6ABA1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4773BD
Deuteranopia (green-blind)
#3969B8
Tritanopia (blue-blind)
#007C89
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4f6aba;
/* rgb */ color: rgb(79, 106, 186);
/* oklch */ color: oklch(54.2% 0.129 267.9);
Tailwind
colors: {
  custom: {
    50: '#8994cf',
    500: '#4f6aba',
    950: '#000000',
  },
}
SCSS
$custom: #4f6aba;
$custom-light: #8994cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4f6aba",
  "rgb": {
    "r": 79,
    "g": 106,
    "b": 186
  },
  "hsl": {
    "h": 224.86,
    "s": 43.673,
    "l": 51.961
  },
  "oklch": {
    "l": 0.54241,
    "c": 0.12898,
    "h": 267.9
  },
  "luminance": 0.15516
}

Semantic roles & 50–950 ramp

primary
#4F6ABA
secondary
#CABE9B
accent
#B354D3
background
#F8F9FC
surface
#F0F1F9
border
#CBCBD2
text
#0C0D14
muted
#7D7E82

Preview Lab

Preview with #4F6ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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