#4F5EB3#4F5EB3

#4F5EB3 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.3% C 0.135 H 273.2°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#4F5EB3
RGBrgb(79, 94, 179)
HSLhsl(231, 40%, 51%)
HSVhsv(231, 56%, 70%)
CMYKcmyk(55.9%, 47.5%, 0%, 29.8%)
CIE-LABlab(42.64, 19.58, -47.11)
CIE-LCHlch(42.64, 51.02, 292.56°)
OKLaboklab(51.29% 0.0076 -0.1343)
OKLCHoklch(51.29% 0.135 273.2)
XYZxyz(15.3612, 12.9213, 44.3237)
Luminance0.1292 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5EB3 #B3A44F
analogous
#4F90B3 #4F5EB3 #724FB3
triadic
#4F5EB3 #B34F5E #5EB34F
tetradic
#4F5EB3 #B34F90 #B3A44F #4FB372
square
#4F5EB3 #B34F90 #B3A44F #4FB372
split-complementary
#4F5EB3 #B3724F #90B34F
monochromatic
#29315F #3B4789 #4F5EB3 #7A85C5 #A4ACD8

Accessibility & contrast

On white

5.86
#4F5EB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#4F5EB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5EB3
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5EB3#FFFFFF#000000##FFFFFF
##4F5EB31.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3669B6
Deuteranopia (green-blind)
#2961B1
Tritanopia (blue-blind)
#187180
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4f5eb3;
/* rgb */ color: rgb(79, 94, 179);
/* oklch */ color: oklch(51.3% 0.135 273.2);
Tailwind
colors: {
  custom: {
    50: '#888bca',
    500: '#4f5eb3',
    950: '#000000',
  },
}
SCSS
$custom: #4f5eb3;
$custom-light: #888bca;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5eb3",
  "rgb": {
    "r": 79,
    "g": 94,
    "b": 179
  },
  "hsl": {
    "h": 231,
    "s": 39.683,
    "l": 50.588
  },
  "oklch": {
    "l": 0.51292,
    "c": 0.13453,
    "h": 273.2
  },
  "luminance": 0.12922
}

Semantic roles & 50–950 ramp

primary
#4F5EB3
secondary
#C5BE99
accent
#BE58D0
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #4F5EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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