#4F7FCB#4F7FCB

#4F7FCB is a mid, vivid blue. Relative luminance 0.212; OKLCH L 59.8% C 0.128 H 259.2°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#4F7FCB
RGBrgb(79, 127, 203)
HSLhsl(217, 54%, 55%)
HSVhsv(217, 61%, 80%)
CMYKcmyk(61.1%, 37.4%, 0%, 20.4%)
CIE-LABlab(53.11, 7.17, -44.29)
CIE-LCHlch(53.11, 44.86, 279.19°)
OKLaboklab(59.78% -0.0239 -0.1257)
OKLCHoklch(59.78% 0.128 259.2)
XYZxyz(21.5895, 21.1509, 59.4331)
Luminance0.2115 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7FCB #CB9B4F
analogous
#4FBDCB #4F7FCB #5D4FCB
triadic
#4F7FCB #CB4F7F #7FCB4F
tetradic
#4F7FCB #CB4FBD #CB9B4F #4FCB5D
square
#4F7FCB #CB4FBD #CB9B4F #4FCB5D
split-complementary
#4F7FCB #CB5D4F #BDCB4F
monochromatic
#24467B #3261AA #4F7FCB #7EA1D9 #ADC4E7

Accessibility & contrast

On white

4.01
#4F7FCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#4F7FCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7FCB
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7FCB#FFFFFF#000000##000000
##4F7FCB1.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E85CE
Deuteranopia (green-blind)
#4E7AC9
Tritanopia (blue-blind)
#00909B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4f7fcb;
/* rgb */ color: rgb(79, 127, 203);
/* oklch */ color: oklch(59.8% 0.128 259.2);
Tailwind
colors: {
  custom: {
    50: '#8ba3db',
    500: '#4f7fcb',
    950: '#000000',
  },
}
SCSS
$custom: #4f7fcb;
$custom-light: #8ba3db;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7fcb",
  "rgb": {
    "r": 79,
    "g": 127,
    "b": 203
  },
  "hsl": {
    "h": 216.774,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.59783,
    "c": 0.12792,
    "h": 259.2
  },
  "luminance": 0.21153
}

Semantic roles & 50–950 ramp

primary
#4F7FCB
secondary
#D5C1A1
accent
#A54ADE
background
#F9FAFD
surface
#F1F3FB
border
#CBCDD4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #4F7FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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