#4F7BDF#4F7BDF

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

Color values

HEX#4F7BDF
RGBrgb(79, 123, 223)
HSLhsl(222, 69%, 59%)
HSVhsv(222, 65%, 87%)
CMYKcmyk(64.6%, 44.8%, 0%, 12.5%)
CIE-LABlab(53.12, 16.44, -55.59)
CIE-LCHlch(53.12, 57.97, 286.48°)
OKLaboklab(60.14% -0.0159 -0.1589)
OKLCHoklch(60.14% 0.16 264.3)
XYZxyz(23.6220, 21.1537, 72.6359)
Luminance0.2116 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7BDF #DFB34F
analogous
#4FC3DF #4F7BDF #6B4FDF
triadic
#4F7BDF #DF4F7B #7BDF4F
tetradic
#4F7BDF #DF4FC3 #DFB34F #4FDF6B
square
#4F7BDF #DF4FC3 #DFB34F #4FDF6B
split-complementary
#4F7BDF #DF6B4F #C3DF4F
monochromatic
#1C4298 #2558CC #4F7BDF #83A2E8 #B7C9F2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F7BDF#FFFFFF#000000##000000
##4F7BDF1.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)
#4A86E3
Deuteranopia (green-blind)
#3179DD
Tritanopia (blue-blind)
#0092A2
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4f7bdf;
/* rgb */ color: rgb(79, 123, 223);
/* oklch */ color: oklch(60.1% 0.160 264.3);
Tailwind
colors: {
  custom: {
    50: '#8ea0e9',
    500: '#4f7bdf',
    950: '#000000',
  },
}
SCSS
$custom: #4f7bdf;
$custom-light: #8ea0e9;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7bdf",
  "rgb": {
    "r": 79,
    "g": 123,
    "b": 223
  },
  "hsl": {
    "h": 221.667,
    "s": 69.231,
    "l": 59.216
  },
  "oklch": {
    "l": 0.60144,
    "c": 0.15965,
    "h": 264.3
  },
  "luminance": 0.21156
}

Semantic roles & 50–950 ramp

primary
#4F7BDF
secondary
#E1D0A9
accent
#B63CEC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4F7BDF

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

Preview Lab → · Contrast checker → · Palette generator →

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