#7D97FF

A color in the Blue, Sky, Navy family

#7d97ff is a color in the Blue, Sky, Navy family: RGB(125, 151, 255), HSL(228°, 100%, 75%), CMYK(51%, 41%, 0%, 0%). Closest named color: cornflowerblue. Contrast is 2.71:1 on white and 7.74:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#7d97ff
RGBrgb(125 151 255)
RGB (legacy)rgb(125, 151, 255)
RGB %rgb(49% 59% 100%)
HSLhsl(228 100% 75%)
HSV / HSBhsv(228, 51%, 100%)
HWBhwb(228 49% 0%)
CMYKcmyk(51%, 41%, 0%, 0%)
CIELAB (D50)lab(64.01 12.38 -55.54)
LCHlch(64.01 56.9 282.57)
OKLaboklab(0.7029 0.0037 -0.1549)
OKLCHoklch(0.7029 0.1549 271.35)
Decimal8230911

Properties

Color ToneBlue, Sky, Navy
Closest named colorcornflowerblue ΔE 4.1
Closest web-safe color#6699ff
Hue228°
Saturation (HSL / HSV)100% / 51%
Lightness (HSL)75%
Brightness or Value (HSV)100%
Luminance (Rec.601 / Rec.709)61% / 60%
Relative luminance (WCAG)0.3371
Red / Green / Blue125 / 151 / 255

WCAG 2.2 Contrast Ratio

On White (#ffffff)
2.71:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
7.74: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 52.4 / -49.5 · As background with white / black text: Lc -57.6 / 51.6

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: #7d97ff;
  --color-brand-oklch: oklch(70.29% 0.1549 271.35);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(125 151 255 / 50%); }
/* Tailwind CSS */
<div class="bg-[#7d97ff] text-[#7d97ff] border-[#7d97ff]">