#4F5697#4F5697

#4F5697 is a mid, moderate blue. Relative luminance 0.106; OKLCH L 47.8% C 0.104 H 277.0°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#4F5697
RGBrgb(79, 86, 151)
HSLhsl(234, 31%, 45%)
HSVhsv(234, 48%, 59%)
CMYKcmyk(47.7%, 43%, 0%, 40.8%)
CIE-LABlab(38.81, 15.51, -36.59)
CIE-LCHlch(38.81, 39.75, 292.97°)
OKLaboklab(47.84% 0.0128 -0.1035)
OKLCHoklch(47.84% 0.104 277)
XYZxyz(12.1364, 10.5516, 30.6693)
Luminance0.1055 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5697 #97904F
analogous
#4F7A97 #4F5697 #6C4F97
triadic
#4F5697 #974F56 #56974F
tetradic
#4F5697 #974F7A #97904F #4F976C
square
#4F5697 #974F7A #97904F #4F976C
split-complementary
#4F5697 #976C4F #7A974F
monochromatic
#252847 #3A3F6F #4F5697 #6F76B4 #989CC9

Accessibility & contrast

On white

6.75
#4F5697 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#4F5697 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5697
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5697#FFFFFF#000000##FFFFFF
##4F56971.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5E99
Deuteranopia (green-blind)
#375996
Tritanopia (blue-blind)
#35646F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4f5697;
/* rgb */ color: rgb(79, 86, 151);
/* oklch */ color: oklch(47.8% 0.104 277.0);
Tailwind
colors: {
  custom: {
    50: '#8485b6',
    500: '#4f5697',
    950: '#000000',
  },
}
SCSS
$custom: #4f5697;
$custom-light: #8485b6;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5697",
  "rgb": {
    "r": 79,
    "g": 86,
    "b": 151
  },
  "hsl": {
    "h": 234.167,
    "s": 31.304,
    "l": 45.098
  },
  "oklch": {
    "l": 0.47841,
    "c": 0.10433,
    "h": 277
  },
  "luminance": 0.10552
}

Semantic roles & 50–950 ramp

primary
#4F5697
secondary
#B6B28C
accent
#BD60C7
background
#F8F8FB
surface
#EFEFF6
border
#CACAD0
text
#0B0B11
muted
#7C7C80

Preview Lab

Preview with #4F5697

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

Preview Lab → · Contrast checker → · Palette generator →

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