#4F7EBA#4F7EBA

#4F7EBA is a mid, moderate cyan. Relative luminance 0.201; OKLCH L 58.6% C 0.106 H 255.2°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#4F7EBA
RGBrgb(79, 126, 186)
HSLhsl(214, 44%, 52%)
HSVhsv(214, 58%, 73%)
CMYKcmyk(57.5%, 32.3%, 0%, 27.1%)
CIE-LABlab(51.98, 2.10, -36.37)
CIE-LCHlch(51.98, 36.43, 273.31°)
OKLaboklab(58.62% -0.0272 -0.1026)
OKLCHoklch(58.62% 0.106 255.2)
XYZxyz(19.5451, 20.1275, 49.2999)
Luminance0.2013 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7EBA #BA8B4F
analogous
#4FB3BA #4F7EBA #564FBA
triadic
#4F7EBA #BA4F7E #7EBA4F
tetradic
#4F7EBA #BA4FB3 #BA8B4F #4FBA56
square
#4F7EBA #BA4FB3 #BA8B4F #4FBA56
split-complementary
#4F7EBA #BA564F #B3BA4F
monochromatic
#284466 #396092 #4F7EBA #7B9ECB #A7BEDC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F7EBA#FFFFFF#000000##000000
##4F7EBA1.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)
#6582BD
Deuteranopia (green-blind)
#5777B9
Tritanopia (blue-blind)
#008C93
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4f7eba;
/* rgb */ color: rgb(79, 126, 186);
/* oklch */ color: oklch(58.6% 0.106 255.2);
Tailwind
colors: {
  custom: {
    50: '#88a3cf',
    500: '#4f7eba',
    950: '#000000',
  },
}
SCSS
$custom: #4f7eba;
$custom-light: #88a3cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7eba",
  "rgb": {
    "r": 79,
    "g": 126,
    "b": 186
  },
  "hsl": {
    "h": 213.645,
    "s": 43.673,
    "l": 51.961
  },
  "oklch": {
    "l": 0.58622,
    "c": 0.10612,
    "h": 255.2
  },
  "luminance": 0.20129
}

Semantic roles & 50–950 ramp

primary
#4F7EBA
secondary
#CAB59B
accent
#9C54D3
background
#F8FAFC
surface
#F0F3F9
border
#CBCDD2
text
#0C0F14
muted
#7D7F82

Preview Lab

Preview with #4F7EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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