#4F5299#4F5299

#4F5299 is a mid, moderate blue. Relative luminance 0.100; OKLCH L 47.1% C 0.113 H 279.3°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#4F5299
RGBrgb(79, 82, 153)
HSLhsl(238, 32%, 45%)
HSVhsv(238, 48%, 60%)
CMYKcmyk(48.4%, 46.4%, 0%, 40%)
CIE-LABlab(37.84, 18.71, -39.36)
CIE-LCHlch(37.84, 43.58, 295.43°)
OKLaboklab(47.13% 0.0183 -0.1116)
OKLCHoklch(47.13% 0.113 279.3)
XYZxyz(11.9898, 9.9961, 31.4285)
Luminance0.1000 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5299 #99964F
analogous
#4F7799 #4F5299 #714F99
triadic
#4F5299 #994F52 #52994F
tetradic
#4F5299 #994F77 #99964F #4F9971
square
#4F5299 #994F77 #99964F #4F9971
split-complementary
#4F5299 #99714F #77994F
monochromatic
#252748 #3A3C71 #4F5299 #7073B5 #989ACA

Accessibility & contrast

On white

7.00
#4F5299 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#4F5299 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5299
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5299#FFFFFF#000000##FFFFFF
##4F52991.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355C9C
Deuteranopia (green-blind)
#2F5697
Tritanopia (blue-blind)
#34616E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4f5299;
/* rgb */ color: rgb(79, 82, 153);
/* oklch */ color: oklch(47.1% 0.113 279.3);
Tailwind
colors: {
  custom: {
    50: '#8582b7',
    500: '#4f5299',
    950: '#000000',
  },
}
SCSS
$custom: #4f5299;
$custom-light: #8582b7;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5299",
  "rgb": {
    "r": 79,
    "g": 82,
    "b": 153
  },
  "hsl": {
    "h": 237.568,
    "s": 31.897,
    "l": 45.49
  },
  "oklch": {
    "l": 0.47133,
    "c": 0.11313,
    "h": 279.3
  },
  "luminance": 0.09997
}

Semantic roles & 50–950 ramp

primary
#4F5299
secondary
#B7B58D
accent
#C460C8
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0B0A11
muted
#7C7C80

Preview Lab

Preview with #4F5299

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

Preview Lab → · Contrast checker → · Palette generator →

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