#4F6FCA#4F6FCA

#4F6FCA is a mid, vivid blue. Relative luminance 0.173; OKLCH L 56.3% C 0.145 H 267.1°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#4F6FCA
RGBrgb(79, 111, 202)
HSLhsl(224, 54%, 55%)
HSVhsv(224, 61%, 79%)
CMYKcmyk(60.9%, 45%, 0%, 20.8%)
CIE-LABlab(48.63, 16.66, -50.86)
CIE-LCHlch(48.63, 53.52, 288.14°)
OKLaboklab(56.3% -0.0073 -0.1451)
OKLCHoklch(56.3% 0.145 267.1)
XYZxyz(19.5659, 17.2937, 58.1726)
Luminance0.1729 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F6FCA #CAAA4F
analogous
#4FADCA #4F6FCA #6C4FCA
triadic
#4F6FCA #CA4F6F #6FCA4F
tetradic
#4F6FCA #CA4FAD #CAAA4F #4FCA6C
square
#4F6FCA #CA4FAD #CAAA4F #4FCA6C
split-complementary
#4F6FCA #CA6C4F #ADCA4F
monochromatic
#253B7A #3352A9 #4F6FCA #7E95D8 #ADBCE6

Accessibility & contrast

On white

4.71
#4F6FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#4F6FCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F6FCA
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F6FCA#FFFFFF#000000##FFFFFF
##4F6FCA1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4479CD
Deuteranopia (green-blind)
#316EC8
Tritanopia (blue-blind)
#008493
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4f6fca;
/* rgb */ color: rgb(79, 111, 202);
/* oklch */ color: oklch(56.3% 0.145 267.1);
Tailwind
colors: {
  custom: {
    50: '#8b97db',
    500: '#4f6fca',
    950: '#000000',
  },
}
SCSS
$custom: #4f6fca;
$custom-light: #8b97db;
$custom-dark: #000000;
JSON
{
  "hex": "#4f6fca",
  "rgb": {
    "r": 79,
    "g": 111,
    "b": 202
  },
  "hsl": {
    "h": 224.39,
    "s": 53.712,
    "l": 55.098
  },
  "oklch": {
    "l": 0.56303,
    "c": 0.14532,
    "h": 267.1
  },
  "luminance": 0.17295
}

Semantic roles & 50–950 ramp

primary
#4F6FCA
secondary
#D4C7A1
accent
#B74BDD
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #4F6FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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