#4F65B2#4F65B2

#4F65B2 is a mid, vivid blue. Relative luminance 0.142; OKLCH L 52.7% C 0.124 H 269.8°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#4F65B2
RGBrgb(79, 101, 178)
HSLhsl(227, 39%, 50%)
HSVhsv(227, 56%, 70%)
CMYKcmyk(55.6%, 43.3%, 0%, 30.2%)
CIE-LABlab(44.49, 14.82, -43.57)
CIE-LCHlch(44.49, 46.02, 288.78°)
OKLaboklab(52.68% -0.0005 -0.1239)
OKLCHoklch(52.68% 0.124 269.8)
XYZxyz(15.9114, 14.1828, 44.0099)
Luminance0.1418 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F65B2 #B29C4F
analogous
#4F96B2 #4F65B2 #6B4FB2
triadic
#4F65B2 #B24F65 #65B24F
tetradic
#4F65B2 #B24F96 #B29C4F #4FB26B
square
#4F65B2 #B24F96 #B29C4F #4FB26B
split-complementary
#4F65B2 #B26B4F #96B24F
monochromatic
#29355E #3C4D88 #4F65B2 #7A8AC5 #A4B0D7

Accessibility & contrast

On white

5.47
#4F65B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#4F65B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F65B2
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F65B2#FFFFFF#000000##FFFFFF
##4F65B21.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#446EB5
Deuteranopia (green-blind)
#3865B0
Tritanopia (blue-blind)
#177683
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4f65b2;
/* rgb */ color: rgb(79, 101, 178);
/* oklch */ color: oklch(52.7% 0.124 269.8);
Tailwind
colors: {
  custom: {
    50: '#8890c9',
    500: '#4f65b2',
    950: '#000000',
  },
}
SCSS
$custom: #4f65b2;
$custom-light: #8890c9;
$custom-dark: #000000;
JSON
{
  "hex": "#4f65b2",
  "rgb": {
    "r": 79,
    "g": 101,
    "b": 178
  },
  "hsl": {
    "h": 226.667,
    "s": 39.13,
    "l": 50.392
  },
  "oklch": {
    "l": 0.52684,
    "c": 0.12386,
    "h": 269.8
  },
  "luminance": 0.14184
}

Semantic roles & 50–950 ramp

primary
#4F65B2
secondary
#C4BB98
accent
#B559CF
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #4F65B2

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

Preview Lab → · Contrast checker → · Palette generator →

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