#4F7CBB#4F7CBB

#4F7CBB is a mid, moderate blue. Relative luminance 0.197; OKLCH L 58.2% C 0.109 H 257.0°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#4F7CBB
RGBrgb(79, 124, 187)
HSLhsl(215, 44%, 52%)
HSVhsv(215, 58%, 73%)
CMYKcmyk(57.8%, 33.7%, 0%, 26.7%)
CIE-LABlab(51.45, 3.63, -37.77)
CIE-LCHlch(51.45, 37.94, 275.49°)
OKLaboklab(58.23% -0.0246 -0.1067)
OKLCHoklch(58.23% 0.109 257)
XYZxyz(19.3986, 19.6638, 49.7773)
Luminance0.1966 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7CBB #BB8E4F
analogous
#4FB2BB #4F7CBB #584FBB
triadic
#4F7CBB #BB4F7C #7CBB4F
tetradic
#4F7CBB #BB4FB2 #BB8E4F #4FBB58
square
#4F7CBB #BB4FB2 #BB8E4F #4FBB58
split-complementary
#4F7CBB #BB584F #B2BB4F
monochromatic
#284368 #395F94 #4F7CBB #7B9DCC #A7BEDD

Accessibility & contrast

On white

4.26
#4F7CBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#4F7CBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7CBB
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7CBB#FFFFFF#000000##000000
##4F7CBB1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6280BE
Deuteranopia (green-blind)
#5476BA
Tritanopia (blue-blind)
#008A93
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4f7cbb;
/* rgb */ color: rgb(79, 124, 187);
/* oklch */ color: oklch(58.2% 0.109 257.0);
Tailwind
colors: {
  custom: {
    50: '#88a1d0',
    500: '#4f7cbb',
    950: '#000000',
  },
}
SCSS
$custom: #4f7cbb;
$custom-light: #88a1d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7cbb",
  "rgb": {
    "r": 79,
    "g": 124,
    "b": 187
  },
  "hsl": {
    "h": 215,
    "s": 44.262,
    "l": 52.157
  },
  "oklch": {
    "l": 0.58226,
    "c": 0.10949,
    "h": 257
  },
  "luminance": 0.19665
}

Semantic roles & 50–950 ramp

primary
#4F7CBB
secondary
#CAB79B
accent
#9F54D4
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #4F7CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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