#4F5397#4F5397

#4F5397 is a mid, moderate blue. Relative luminance 0.101; OKLCH L 47.2% C 0.109 H 278.8°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#4F5397
RGBrgb(79, 83, 151)
HSLhsl(237, 31%, 45%)
HSVhsv(237, 48%, 59%)
CMYKcmyk(47.7%, 45%, 0%, 40.8%)
CIE-LABlab(37.99, 17.43, -37.90)
CIE-LCHlch(37.99, 41.72, 294.70°)
OKLaboklab(47.21% 0.0167 -0.1074)
OKLCHoklch(47.21% 0.109 278.8)
XYZxyz(11.9019, 10.0825, 30.5911)
Luminance0.1008 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5397 #97934F
analogous
#4F7797 #4F5397 #6F4F97
triadic
#4F5397 #974F53 #53974F
tetradic
#4F5397 #974F77 #97934F #4F976F
square
#4F5397 #974F77 #97934F #4F976F
split-complementary
#4F5397 #976F4F #77974F
monochromatic
#252747 #3A3D6F #4F5397 #6F73B4 #989AC9

Accessibility & contrast

On white

6.96
#4F5397 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#4F5397 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5397
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5397#FFFFFF#000000##FFFFFF
##4F53971.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385C9A
Deuteranopia (green-blind)
#335795
Tritanopia (blue-blind)
#35616D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4f5397;
/* rgb */ color: rgb(79, 83, 151);
/* oklch */ color: oklch(47.2% 0.109 278.8);
Tailwind
colors: {
  custom: {
    50: '#8583b6',
    500: '#4f5397',
    950: '#000000',
  },
}
SCSS
$custom: #4f5397;
$custom-light: #8583b6;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5397",
  "rgb": {
    "r": 79,
    "g": 83,
    "b": 151
  },
  "hsl": {
    "h": 236.667,
    "s": 31.304,
    "l": 45.098
  },
  "oklch": {
    "l": 0.47213,
    "c": 0.10868,
    "h": 278.8
  },
  "luminance": 0.10083
}

Semantic roles & 50–950 ramp

primary
#4F5397
secondary
#B6B38C
accent
#C260C7
background
#F8F8FB
surface
#EFEFF6
border
#CACAD0
text
#0B0A11
muted
#7C7C80

Preview Lab

Preview with #4F5397

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

Preview Lab → · Contrast checker → · Palette generator →

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