#4F7BCB#4F7BCB

#4F7BCB is a mid, vivid blue. Relative luminance 0.201; OKLCH L 58.9% C 0.132 H 261.5°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#4F7BCB
RGBrgb(79, 123, 203)
HSLhsl(219, 54%, 55%)
HSVhsv(219, 61%, 80%)
CMYKcmyk(61.1%, 39.4%, 0%, 20.4%)
CIE-LABlab(51.99, 9.60, -46.07)
CIE-LCHlch(51.99, 47.06, 281.77°)
OKLaboklab(58.91% -0.0197 -0.1309)
OKLCHoklch(58.91% 0.132 261.5)
XYZxyz(21.0831, 20.1381, 59.2643)
Luminance0.2014 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7BCB #CB9F4F
analogous
#4FB9CB #4F7BCB #614FCB
triadic
#4F7BCB #CB4F7B #7BCB4F
tetradic
#4F7BCB #CB4FB9 #CB9F4F #4FCB61
square
#4F7BCB #CB4FB9 #CB9F4F #4FCB61
split-complementary
#4F7BCB #CB614F #B9CB4F
monochromatic
#24437B #325DAA #4F7BCB #7E9ED9 #ADC2E7

Accessibility & contrast

On white

4.18
#4F7BCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#4F7BCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7BCB
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7BCB#FFFFFF#000000##000000
##4F7BCB1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5882CE
Deuteranopia (green-blind)
#4777C9
Tritanopia (blue-blind)
#008D99
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4f7bcb;
/* rgb */ color: rgb(79, 123, 203);
/* oklch */ color: oklch(58.9% 0.132 261.5);
Tailwind
colors: {
  custom: {
    50: '#8ba0db',
    500: '#4f7bcb',
    950: '#000000',
  },
}
SCSS
$custom: #4f7bcb;
$custom-light: #8ba0db;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7bcb",
  "rgb": {
    "r": 79,
    "g": 123,
    "b": 203
  },
  "hsl": {
    "h": 218.71,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.58913,
    "c": 0.13239,
    "h": 261.5
  },
  "luminance": 0.2014
}

Semantic roles & 50–950 ramp

primary
#4F7BCB
secondary
#D5C2A1
accent
#A94ADE
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4F7BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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