#4F7BD2#4F7BD2

#4F7BD2 is a mid, vivid blue. Relative luminance 0.205; OKLCH L 59.3% C 0.142 H 262.6°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#4F7BD2
RGBrgb(79, 123, 210)
HSLhsl(220, 59%, 57%)
HSVhsv(220, 62%, 82%)
CMYKcmyk(62.4%, 41.4%, 0%, 17.6%)
CIE-LABlab(52.37, 11.98, -49.43)
CIE-LCHlch(52.37, 50.87, 283.62°)
OKLaboklab(59.33% -0.0182 -0.1408)
OKLCHoklch(59.33% 0.142 262.6)
XYZxyz(21.9362, 20.4793, 63.7572)
Luminance0.2048 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7BD2 #D2A64F
analogous
#4FBDD2 #4F7BD2 #654FD2
triadic
#4F7BD2 #D24F7B #7BD24F
tetradic
#4F7BD2 #D24FBD #D2A64F #4FD265
square
#4F7BD2 #D24FBD #D2A64F #4FD265
split-complementary
#4F7BD2 #D2654F #BDD24F
monochromatic
#224385 #2E5CB5 #4F7BD2 #80A0DE #B0C4EB

Accessibility & contrast

On white

4.12
#4F7BD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#4F7BD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7BD2
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7BD2#FFFFFF#000000##000000
##4F7BD21.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5483D5
Deuteranopia (green-blind)
#4177D0
Tritanopia (blue-blind)
#008F9C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4f7bd2;
/* rgb */ color: rgb(79, 123, 210);
/* oklch */ color: oklch(59.3% 0.142 262.6);
Tailwind
colors: {
  custom: {
    50: '#8ca0e0',
    500: '#4f7bd2',
    950: '#000000',
  },
}
SCSS
$custom: #4f7bd2;
$custom-light: #8ca0e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7bd2",
  "rgb": {
    "r": 79,
    "g": 123,
    "b": 210
  },
  "hsl": {
    "h": 219.847,
    "s": 59.276,
    "l": 56.667
  },
  "oklch": {
    "l": 0.59332,
    "c": 0.14196,
    "h": 262.6
  },
  "luminance": 0.20481
}

Semantic roles & 50–950 ramp

primary
#4F7BD2
secondary
#D9C7A4
accent
#AE45E2
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4F7BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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