#4F538D#4F538D

#4F538D is a mid, moderate blue. Relative luminance 0.098; OKLCH L 46.6% C 0.093 H 279.1°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#4F538D
RGBrgb(79, 83, 141)
HSLhsl(236, 28%, 43%)
HSVhsv(236, 44%, 55%)
CMYKcmyk(44%, 41.1%, 0%, 44.7%)
CIE-LABlab(37.43, 14.28, -32.74)
CIE-LCHlch(37.43, 35.72, 293.56°)
OKLaboklab(46.6% 0.0148 -0.0923)
OKLCHoklch(46.6% 0.093 279.1)
XYZxyz(11.1240, 9.7714, 26.4941)
Luminance0.0977 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F538D #8D894F
analogous
#4F728D #4F538D #6A4F8D
triadic
#4F538D #8D4F53 #538D4F
tetradic
#4F538D #8D4F72 #8D894F #4F8D6A
square
#4F538D #8D4F72 #8D894F #4F8D6A
split-complementary
#4F538D #8D6A4F #728D4F
monochromatic
#23253F #393C66 #4F538D #6C71AD #9497C3

Accessibility & contrast

On white

7.11
#4F538D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#4F538D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F538D
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F538D#FFFFFF#000000##FFFFFF
##4F538D1.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5A8F
Deuteranopia (green-blind)
#3A568C
Tritanopia (blue-blind)
#3B5F69
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4f538d;
/* rgb */ color: rgb(79, 83, 141);
/* oklch */ color: oklch(46.6% 0.093 279.1);
Tailwind
colors: {
  custom: {
    50: '#8383ae',
    500: '#4f538d',
    950: '#000000',
  },
}
SCSS
$custom: #4f538d;
$custom-light: #8383ae;
$custom-dark: #000000;
JSON
{
  "hex": "#4f538d",
  "rgb": {
    "r": 79,
    "g": 83,
    "b": 141
  },
  "hsl": {
    "h": 236.129,
    "s": 28.182,
    "l": 43.137
  },
  "oklch": {
    "l": 0.46602,
    "c": 0.09348,
    "h": 279.1
  },
  "luminance": 0.09772
}

Semantic roles & 50–950 ramp

primary
#4F538D
secondary
#AFAD88
accent
#BE63C4
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0B0A10
muted
#7C7C7F

Preview Lab

Preview with #4F538D

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

Preview Lab → · Contrast checker → · Palette generator →

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