#4F7DBE#4F7DBE

#4F7DBE is a mid, moderate blue. Relative luminance 0.200; OKLCH L 58.6% C 0.113 H 257.2°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#4F7DBE
RGBrgb(79, 125, 190)
HSLhsl(215, 46%, 53%)
HSVhsv(215, 58%, 75%)
CMYKcmyk(58.4%, 34.2%, 0%, 25.5%)
CIE-LABlab(51.89, 4.02, -38.81)
CIE-LCHlch(51.89, 39.02, 275.92°)
OKLaboklab(58.61% -0.025 -0.1097)
OKLCHoklch(58.61% 0.113 257.2)
XYZxyz(19.8491, 20.0455, 51.5284)
Luminance0.2005 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7DBE #BE904F
analogous
#4FB5BE #4F7DBE #584FBE
triadic
#4F7DBE #BE4F7D #7DBE4F
tetradic
#4F7DBE #BE4FB5 #BE904F #4FBE58
square
#4F7DBE #BE4FB5 #BE904F #4FBE58
split-complementary
#4F7DBE #BE584F #B5BE4F
monochromatic
#28446B #386098 #4F7DBE #7C9ECF #A8BFDF

Accessibility & contrast

On white

4.19
#4F7DBE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#4F7DBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7DBE
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7DBE#FFFFFF#000000##000000
##4F7DBE1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6281C1
Deuteranopia (green-blind)
#5477BD
Tritanopia (blue-blind)
#008C95
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4f7dbe;
/* rgb */ color: rgb(79, 125, 190);
/* oklch */ color: oklch(58.6% 0.113 257.2);
Tailwind
colors: {
  custom: {
    50: '#89a2d2',
    500: '#4f7dbe',
    950: '#000000',
  },
}
SCSS
$custom: #4f7dbe;
$custom-light: #89a2d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7dbe",
  "rgb": {
    "r": 79,
    "g": 125,
    "b": 190
  },
  "hsl": {
    "h": 215.135,
    "s": 46.058,
    "l": 52.745
  },
  "oklch": {
    "l": 0.58613,
    "c": 0.1125,
    "h": 257.2
  },
  "luminance": 0.20047
}

Semantic roles & 50–950 ramp

primary
#4F7DBE
secondary
#CCB99C
accent
#9F52D6
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0F14
muted
#7D7E82

Preview Lab

Preview with #4F7DBE

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

Preview Lab → · Contrast checker → · Palette generator →

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