#4F98EC#4F98EC

#4F98EC is a light, vivid cyan. Relative luminance 0.302; OKLCH L 67.1% C 0.145 H 253.5°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#4F98EC
RGBrgb(79, 152, 236)
HSLhsl(212, 81%, 62%)
HSVhsv(212, 67%, 93%)
CMYKcmyk(66.5%, 35.6%, 0%, 7.5%)
CIE-LABlab(61.80, 3.51, -49.00)
CIE-LCHlch(61.80, 49.13, 274.10°)
OKLaboklab(67.1% -0.0411 -0.1392)
OKLCHoklch(67.1% 0.145 253.5)
XYZxyz(29.5875, 30.1718, 83.6051)
Luminance0.3018 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F98EC #ECA34F
analogous
#4FE7EC #4F98EC #554FEC
triadic
#4F98EC #EC4F98 #98EC4F
tetradic
#4F98EC #EC4FE7 #ECA34F #4FEC55
square
#4F98EC #EC4FE7 #ECA34F #4FEC55
split-complementary
#4F98EC #EC554F #E7EC4F
monochromatic
#135BAE #1978E5 #4F98EC #86B8F2 #BDD9F8

Accessibility & contrast

On white

2.99
#4F98EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#4F98EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #4F98EC
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F98EC#FFFFFF#000000##000000
##4F98EC1.002.997.047.04
#FFFFFF2.991.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#739DEF
Deuteranopia (green-blind)
#5C8FEA
Tritanopia (blue-blind)
#00ACB7
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #4f98ec;
/* rgb */ color: rgb(79, 152, 236);
/* oklch */ color: oklch(67.1% 0.145 253.5);
Tailwind
colors: {
  custom: {
    50: '#90b5f2',
    500: '#4f98ec',
    950: '#000000',
  },
}
SCSS
$custom: #4f98ec;
$custom-light: #90b5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f98ec",
  "rgb": {
    "r": 79,
    "g": 152,
    "b": 236
  },
  "hsl": {
    "h": 212.102,
    "s": 80.513,
    "l": 61.765
  },
  "oklch": {
    "l": 0.67104,
    "c": 0.14512,
    "h": 253.5
  },
  "luminance": 0.30175
}

Semantic roles & 50–950 ramp

primary
#4F98EC
secondary
#E8CDAE
accent
#7A09DD
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #4F98EC

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

Preview Lab → · Contrast checker → · Palette generator →

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