#4F7BCF#4F7BCF

#4F7BCF is a mid, vivid blue. Relative luminance 0.203; OKLCH L 59.2% C 0.138 H 262.1°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#4F7BCF
RGBrgb(79, 123, 207)
HSLhsl(219, 57%, 56%)
HSVhsv(219, 62%, 81%)
CMYKcmyk(61.8%, 40.6%, 0%, 18.8%)
CIE-LABlab(52.21, 10.96, -48.00)
CIE-LCHlch(52.21, 49.23, 282.86°)
OKLaboklab(59.15% -0.0188 -0.1366)
OKLCHoklch(59.15% 0.138 262.1)
XYZxyz(21.5660, 20.3312, 61.8072)
Luminance0.2033 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7BCF #CFA34F
analogous
#4FBBCF #4F7BCF #634FCF
triadic
#4F7BCF #CF4F7B #7BCF4F
tetradic
#4F7BCF #CF4FBB #CFA34F #4FCF63
square
#4F7BCF #CF4FBB #CFA34F #4FCF63
split-complementary
#4F7BCF #CF634F #BBCF4F
monochromatic
#234381 #305CB1 #4F7BCF #7F9FDC #AFC3E9

Accessibility & contrast

On white

4.14
#4F7BCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#4F7BCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7BCF
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7BCF#FFFFFF#000000##000000
##4F7BCF1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5683D2
Deuteranopia (green-blind)
#4377CD
Tritanopia (blue-blind)
#008E9B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4f7bcf;
/* rgb */ color: rgb(79, 123, 207);
/* oklch */ color: oklch(59.2% 0.138 262.1);
Tailwind
colors: {
  custom: {
    50: '#8ba0de',
    500: '#4f7bcf',
    950: '#000000',
  },
}
SCSS
$custom: #4f7bcf;
$custom-light: #8ba0de;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7bcf",
  "rgb": {
    "r": 79,
    "g": 123,
    "b": 207
  },
  "hsl": {
    "h": 219.375,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.59151,
    "c": 0.13786,
    "h": 262.1
  },
  "luminance": 0.20333
}

Semantic roles & 50–950 ramp

primary
#4F7BCF
secondary
#D7C5A2
accent
#AC47E0
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4F7BCF

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

Preview Lab → · Contrast checker → · Palette generator →

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