#4F66CB#4F66CB

#4F66CB is a mid, vivid blue. Relative luminance 0.155; OKLCH L 54.5% C 0.158 H 270.7°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#4F66CB
RGBrgb(79, 102, 203)
HSLhsl(229, 54%, 55%)
HSVhsv(229, 61%, 80%)
CMYKcmyk(61.1%, 49.8%, 0%, 20.4%)
CIE-LABlab(46.28, 22.63, -55.20)
CIE-LCHlch(46.28, 59.66, 292.29°)
OKLaboklab(54.53% 0.0019 -0.158)
OKLCHoklch(54.53% 0.158 270.7)
XYZxyz(18.7517, 15.4752, 58.4872)
Luminance0.1548 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F66CB #CBB44F
analogous
#4FA4CB #4F66CB #764FCB
triadic
#4F66CB #CB4F66 #66CB4F
tetradic
#4F66CB #CB4FA4 #CBB44F #4FCB76
square
#4F66CB #CB4FA4 #CBB44F #4FCB76
split-complementary
#4F66CB #CB764F #A4CB4F
monochromatic
#24347B #3249AA #4F66CB #7E8FD9 #ADB8E7

Accessibility & contrast

On white

5.13
#4F66CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#4F66CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F66CB
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F66CB#FFFFFF#000000##FFFFFF
##4F66CB1.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3073CF
Deuteranopia (green-blind)
#1468C9
Tritanopia (blue-blind)
#007D8F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4f66cb;
/* rgb */ color: rgb(79, 102, 203);
/* oklch */ color: oklch(54.5% 0.158 270.7);
Tailwind
colors: {
  custom: {
    50: '#8b91db',
    500: '#4f66cb',
    950: '#000000',
  },
}
SCSS
$custom: #4f66cb;
$custom-light: #8b91db;
$custom-dark: #000000;
JSON
{
  "hex": "#4f66cb",
  "rgb": {
    "r": 79,
    "g": 102,
    "b": 203
  },
  "hsl": {
    "h": 228.871,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.54533,
    "c": 0.15802,
    "h": 270.7
  },
  "luminance": 0.15477
}

Semantic roles & 50–950 ramp

primary
#4F66CB
secondary
#D5CBA1
accent
#C24ADE
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4F66CB

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

Preview Lab → · Contrast checker → · Palette generator →

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