#4F97FF

A color in the Blue, Sky, Navy family

#4f97ff is a color in the Blue, Sky, Navy family: RGB(79, 151, 255), HSL(215°, 100%, 65%), CMYK(69%, 41%, 0%, 0%). Closest named color: cornflowerblue. Contrast is 2.92:1 on white and 7.2:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#4f97ff
RGBrgb(79 151 255)
RGB (legacy)rgb(79, 151, 255)
RGB %rgb(31% 59% 100%)
HSLhsl(215 100% 65%)
HSV / HSBhsv(215, 69%, 100%)
HWBhwb(215 31% 0%)
CMYKcmyk(69%, 41%, 0%, 0%)
CIELAB (D50)lab(61.64 2.76 -59.46)
LCHlch(61.64 59.52 272.65)
OKLaboklab(0.6798 -0.036 -0.1664)
OKLCHoklch(0.6798 0.1702 257.81)
Decimal5216255

Properties

Color ToneBlue, Sky, Navy
Closest named colorcornflowerblue ΔE 3.1
Closest web-safe color#6699ff
Hue215°
Saturation (HSL / HSV)100% / 69%
Lightness (HSL)65%
Brightness or Value (HSV)100%
Luminance (Rec.601 / Rec.709)55% / 56%
Relative luminance (WCAG)0.3102
Red / Green / Blue79 / 151 / 255

WCAG 2.2 Contrast Ratio

On White (#ffffff)
2.92:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
7.20:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 55.2 / -46.6 · As background with white / black text: Lc -60.5 / 48.8

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #4f97ff;
  --color-brand-oklch: oklch(67.98% 0.1702 257.81);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(79 151 255 / 50%); }
/* Tailwind CSS */
<div class="bg-[#4f97ff] text-[#4f97ff] border-[#4f97ff]">