#7C8FDB#7C8FDB

#7C8FDB is a light, moderate blue. Relative luminance 0.290; OKLCH L 66.7% C 0.115 H 272.3°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#7C8FDB
RGBrgb(124, 143, 219)
HSLhsl(228, 57%, 67%)
HSVhsv(228, 43%, 86%)
CMYKcmyk(43.4%, 34.7%, 0%, 14.1%)
CIE-LABlab(60.82, 12.75, -40.97)
CIE-LCHlch(60.82, 42.91, 287.28°)
OKLaboklab(66.68% 0.0046 -0.1151)
OKLCHoklch(66.68% 0.115 272.3)
XYZxyz(30.9169, 29.0429, 70.9809)
Luminance0.2904 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8FDB #DBC87C
analogous
#7CBFDB #7C8FDB #997CDB
triadic
#7C8FDB #DB7C8F #8FDB7C
tetradic
#7C8FDB #DB7CBF #DBC87C #7CDB99
square
#7C8FDB #DB7CBF #DBC87C #7CDB99
split-complementary
#7C8FDB #DB997C #BFDB7C
monochromatic
#3049AD #4C66CE #7C8FDB #ACB8E8 #DCE1F5

Accessibility & contrast

On white

3.08
#7C8FDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#7C8FDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8FDB
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8FDB#FFFFFF#000000##000000
##7C8FDB1.003.086.816.81
#FFFFFF3.081.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7497DE
Deuteranopia (green-blind)
#6C8FD9
Tritanopia (blue-blind)
#5B9FAB
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #7c8fdb;
/* rgb */ color: rgb(124, 143, 219);
/* oklch */ color: oklch(66.7% 0.115 272.3);
Tailwind
colors: {
  custom: {
    50: '#a6afe6',
    500: '#7c8fdb',
    950: '#000000',
  },
}
SCSS
$custom: #7c8fdb;
$custom-light: #a6afe6;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8fdb",
  "rgb": {
    "r": 124,
    "g": 143,
    "b": 219
  },
  "hsl": {
    "h": 228,
    "s": 56.886,
    "l": 67.255
  },
  "oklch": {
    "l": 0.66683,
    "c": 0.11518,
    "h": 272.3
  },
  "luminance": 0.29044
}

Semantic roles & 50–950 ramp

primary
#7C8FDB
secondary
#E8E2CA
accent
#A421C4
background
#FAFAFE
surface
#F4F4FC
border
#CECED5
text
#101016
muted
#7F7F84

Preview Lab

Preview with #7C8FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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