#7C8FDF#7C8FDF

#7C8FDF is a light, vivid blue. Relative luminance 0.293; OKLCH L 66.9% C 0.121 H 272.6°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#7C8FDF
RGBrgb(124, 143, 223)
HSLhsl(228, 61%, 68%)
HSVhsv(228, 44%, 87%)
CMYKcmyk(44.4%, 35.9%, 0%, 12.5%)
CIE-LABlab(61.01, 13.90, -42.90)
CIE-LCHlch(61.01, 45.10, 287.96°)
OKLaboklab(66.89% 0.0055 -0.1207)
OKLCHoklch(66.89% 0.121 272.6)
XYZxyz(31.4498, 29.2560, 73.7875)
Luminance0.2926 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8FDF #DFCC7C
analogous
#7CC0DF #7C8FDF #9A7CDF
triadic
#7C8FDF #DF7C8F #8FDF7C
tetradic
#7C8FDF #DF7CC0 #DFCC7C #7CDF9A
square
#7C8FDF #DF7CC0 #DFCC7C #7CDF9A
split-complementary
#7C8FDF #DF9A7C #C0DF7C
monochromatic
#2C46B5 #4B65D3 #7C8FDF #ADB9EB #DEE3F7

Accessibility & contrast

On white

3.06
#7C8FDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.85
#7C8FDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8FDF
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8FDF#FFFFFF#000000##000000
##7C8FDF1.003.066.856.85
#FFFFFF3.061.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7298E2
Deuteranopia (green-blind)
#698FDD
Tritanopia (blue-blind)
#599FAC
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #7c8fdf;
/* rgb */ color: rgb(124, 143, 223);
/* oklch */ color: oklch(66.9% 0.121 272.6);
Tailwind
colors: {
  custom: {
    50: '#a6afe9',
    500: '#7c8fdf',
    950: '#000000',
  },
}
SCSS
$custom: #7c8fdf;
$custom-light: #a6afe9;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8fdf",
  "rgb": {
    "r": 124,
    "g": 143,
    "b": 223
  },
  "hsl": {
    "h": 228.485,
    "s": 60.736,
    "l": 68.039
  },
  "oklch": {
    "l": 0.66889,
    "c": 0.12083,
    "h": 272.6
  },
  "luminance": 0.29258
}

Semantic roles & 50–950 ramp

primary
#7C8FDF
secondary
#EBE5CC
accent
#A81DC8
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101016
muted
#7F7F84

Preview Lab

Preview with #7C8FDF

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

Preview Lab → · Contrast checker → · Palette generator →

#7C8FDF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva