#4F7DCB#4F7DCB

#4F7DCB is a mid, vivid blue. Relative luminance 0.206; OKLCH L 59.3% C 0.130 H 260.4°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#4F7DCB
RGBrgb(79, 125, 203)
HSLhsl(218, 54%, 55%)
HSVhsv(218, 61%, 80%)
CMYKcmyk(61.1%, 38.4%, 0%, 20.4%)
CIE-LABlab(52.55, 8.38, -45.18)
CIE-LCHlch(52.55, 45.95, 280.51°)
OKLaboklab(59.35% -0.0218 -0.1283)
OKLCHoklch(59.35% 0.13 260.4)
XYZxyz(21.3338, 20.6394, 59.3479)
Luminance0.2064 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7DCB #CB9D4F
analogous
#4FBBCB #4F7DCB #5F4FCB
triadic
#4F7DCB #CB4F7D #7DCB4F
tetradic
#4F7DCB #CB4FBB #CB9D4F #4FCB5F
square
#4F7DCB #CB4FBB #CB9D4F #4FCB5F
split-complementary
#4F7DCB #CB5F4F #BBCB4F
monochromatic
#24457B #325FAA #4F7DCB #7EA0D9 #ADC3E7

Accessibility & contrast

On white

4.10
#4F7DCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#4F7DCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7DCB
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7DCB#FFFFFF#000000##000000
##4F7DCB1.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B84CE
Deuteranopia (green-blind)
#4A78C9
Tritanopia (blue-blind)
#008F9A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4f7dcb;
/* rgb */ color: rgb(79, 125, 203);
/* oklch */ color: oklch(59.3% 0.130 260.4);
Tailwind
colors: {
  custom: {
    50: '#8ba2db',
    500: '#4f7dcb',
    950: '#000000',
  },
}
SCSS
$custom: #4f7dcb;
$custom-light: #8ba2db;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7dcb",
  "rgb": {
    "r": 79,
    "g": 125,
    "b": 203
  },
  "hsl": {
    "h": 217.742,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.59347,
    "c": 0.13014,
    "h": 260.4
  },
  "luminance": 0.20641
}

Semantic roles & 50–950 ramp

primary
#4F7DCB
secondary
#D5C2A1
accent
#A74ADE
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0F15
muted
#7E7E83

Preview Lab

Preview with #4F7DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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