#4F5BAF#4F5BAF

#4F5BAF is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.4% C 0.133 H 274.5°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#4F5BAF
RGBrgb(79, 91, 175)
HSLhsl(233, 38%, 50%)
HSVhsv(233, 55%, 69%)
CMYKcmyk(54.9%, 48%, 0%, 31.4%)
CIE-LABlab(41.59, 20.15, -46.45)
CIE-LCHlch(41.59, 50.63, 293.45°)
OKLaboklab(50.41% 0.0104 -0.1324)
OKLCHoklch(50.41% 0.133 274.5)
XYZxyz(14.7009, 12.2386, 42.1367)
Luminance0.1224 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5BAF #AFA34F
analogous
#4F8BAF #4F5BAF #734FAF
triadic
#4F5BAF #AF4F5B #5BAF4F
tetradic
#4F5BAF #AF4F8B #AFA34F #4FAF73
square
#4F5BAF #AF4F8B #AFA34F #4FAF73
split-complementary
#4F5BAF #AF734F #8BAF4F
monochromatic
#292F5B #3C4585 #4F5BAF #7982C2 #A3A9D5

Accessibility & contrast

On white

6.09
#4F5BAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#4F5BAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5BAF
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5BAF#FFFFFF#000000##FFFFFF
##4F5BAF1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3466B2
Deuteranopia (green-blind)
#285EAD
Tritanopia (blue-blind)
#1F6E7C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4f5baf;
/* rgb */ color: rgb(79, 91, 175);
/* oklch */ color: oklch(50.4% 0.133 274.5);
Tailwind
colors: {
  custom: {
    50: '#8889c7',
    500: '#4f5baf',
    950: '#000000',
  },
}
SCSS
$custom: #4f5baf;
$custom-light: #8889c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5baf",
  "rgb": {
    "r": 79,
    "g": 91,
    "b": 175
  },
  "hsl": {
    "h": 232.5,
    "s": 37.795,
    "l": 49.804
  },
  "oklch": {
    "l": 0.50414,
    "c": 0.1328,
    "h": 274.5
  },
  "luminance": 0.1224
}

Semantic roles & 50–950 ramp

primary
#4F5BAF
secondary
#C3BD97
accent
#BF5ACE
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #4F5BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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