#4F74CB#4F74CB

#4F74CB is a mid, vivid blue. Relative luminance 0.185; OKLCH L 57.4% C 0.141 H 265.0°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#4F74CB
RGBrgb(79, 116, 203)
HSLhsl(222, 54%, 55%)
HSVhsv(222, 61%, 80%)
CMYKcmyk(61.1%, 42.9%, 0%, 20.4%)
CIE-LABlab(50.05, 13.90, -49.15)
CIE-LCHlch(50.05, 51.08, 285.79°)
OKLaboklab(57.42% -0.0123 -0.1401)
OKLCHoklch(57.42% 0.141 265)
XYZxyz(20.2456, 18.4631, 58.9852)
Luminance0.1847 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F74CB #CBA64F
analogous
#4FB2CB #4F74CB #684FCB
triadic
#4F74CB #CB4F74 #74CB4F
tetradic
#4F74CB #CB4FB2 #CBA64F #4FCB68
square
#4F74CB #CB4FB2 #CBA64F #4FCB68
split-complementary
#4F74CB #CB684F #B2CB4F
monochromatic
#243E7B #3256AA #4F74CB #7E99D9 #ADBFE7

Accessibility & contrast

On white

4.47
#4F74CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#4F74CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F74CB
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F74CB#FFFFFF#000000##000000
##4F74CB1.004.474.694.69
#FFFFFF4.471.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D7DCE
Deuteranopia (green-blind)
#3A72C9
Tritanopia (blue-blind)
#008895
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4f74cb;
/* rgb */ color: rgb(79, 116, 203);
/* oklch */ color: oklch(57.4% 0.141 265.0);
Tailwind
colors: {
  custom: {
    50: '#8b9bdb',
    500: '#4f74cb',
    950: '#000000',
  },
}
SCSS
$custom: #4f74cb;
$custom-light: #8b9bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#4f74cb",
  "rgb": {
    "r": 79,
    "g": 116,
    "b": 203
  },
  "hsl": {
    "h": 222.097,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.57416,
    "c": 0.1406,
    "h": 265
  },
  "luminance": 0.18465
}

Semantic roles & 50–950 ramp

primary
#4F74CB
secondary
#D5C5A1
accent
#B24ADE
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4F74CB

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

Preview Lab → · Contrast checker → · Palette generator →

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