#4F66BC#4F66BC

#4F66BC is a mid, vivid blue. Relative luminance 0.148; OKLCH L 53.5% C 0.137 H 270.0°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#4F66BC
RGBrgb(79, 102, 188)
HSLhsl(227, 45%, 52%)
HSVhsv(227, 58%, 74%)
CMYKcmyk(58%, 45.7%, 0%, 26.3%)
CIE-LABlab(45.35, 17.54, -48.03)
CIE-LCHlch(45.35, 51.13, 290.06°)
OKLaboklab(53.53% 0 -0.1369)
OKLCHoklch(53.53% 0.137 270)
XYZxyz(17.0499, 14.7945, 49.5244)
Luminance0.1480 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F66BC #BCA54F
analogous
#4F9DBC #4F66BC #6E4FBC
triadic
#4F66BC #BC4F66 #66BC4F
tetradic
#4F66BC #BC4F9D #BCA54F #4FBC6E
square
#4F66BC #BC4F9D #BCA54F #4FBC6E
split-complementary
#4F66BC #BC6E4F #9DBC4F
monochromatic
#283669 #394C95 #4F66BC #7B8DCD #A8B3DE

Accessibility & contrast

On white

5.30
#4F66BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#4F66BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F66BC
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F66BC#FFFFFF#000000##FFFFFF
##4F66BC1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E70BF
Deuteranopia (green-blind)
#2F67BA
Tritanopia (blue-blind)
#007988
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4f66bc;
/* rgb */ color: rgb(79, 102, 188);
/* oklch */ color: oklch(53.5% 0.137 270.0);
Tailwind
colors: {
  custom: {
    50: '#8991d1',
    500: '#4f66bc',
    950: '#000000',
  },
}
SCSS
$custom: #4f66bc;
$custom-light: #8991d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4f66bc",
  "rgb": {
    "r": 79,
    "g": 102,
    "b": 188
  },
  "hsl": {
    "h": 227.339,
    "s": 44.856,
    "l": 52.353
  },
  "oklch": {
    "l": 0.53529,
    "c": 0.13693,
    "h": 270
  },
  "luminance": 0.14796
}

Semantic roles & 50–950 ramp

primary
#4F66BC
secondary
#CBC19C
accent
#B953D5
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0C14
muted
#7D7D82

Preview Lab

Preview with #4F66BC

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

Preview Lab → · Contrast checker → · Palette generator →

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