#7895CD#7895CD

#7895CD is a light, moderate blue. Relative luminance 0.299; OKLCH L 67.0% C 0.090 H 263.1°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#7895CD
RGBrgb(120, 149, 205)
HSLhsl(220, 46%, 64%)
HSVhsv(220, 41%, 80%)
CMYKcmyk(41.5%, 27.3%, 0%, 19.6%)
CIE-LABlab(61.56, 4.24, -32.01)
CIE-LCHlch(61.56, 32.29, 277.55°)
OKLaboklab(66.99% -0.0108 -0.0892)
OKLCHoklch(66.99% 0.09 263.1)
XYZxyz(29.5091, 29.8941, 61.9610)
Luminance0.2990 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7895CD #CDB078
analogous
#78BFCD #7895CD #8578CD
triadic
#7895CD #CD7895 #95CD78
tetradic
#7895CD #CD78BF #CDB078 #78CD85
square
#7895CD #CD78BF #CDB078 #78CD85
split-complementary
#7895CD #CD8578 #BFCD78
monochromatic
#375794 #4B72BC #7895CD #A5B8DE #D1DBEE

Accessibility & contrast

On white

3.01
#7895CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#7895CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7895CD
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7895CD#FFFFFF#000000##000000
##7895CD1.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8199CF
Deuteranopia (green-blind)
#7891CC
Tritanopia (blue-blind)
#5BA1A9
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7895cd;
/* rgb */ color: rgb(120, 149, 205);
/* oklch */ color: oklch(67.0% 0.090 263.1);
Tailwind
colors: {
  custom: {
    50: '#a2b4dc',
    500: '#7895cd',
    950: '#000000',
  },
}
SCSS
$custom: #7895cd;
$custom-light: #a2b4dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7895cd",
  "rgb": {
    "r": 120,
    "g": 149,
    "b": 205
  },
  "hsl": {
    "h": 219.529,
    "s": 45.946,
    "l": 63.725
  },
  "oklch": {
    "l": 0.66991,
    "c": 0.08991,
    "h": 263.1
  },
  "luminance": 0.29896
}

Semantic roles & 50–950 ramp

primary
#7895CD
secondary
#DFD5C1
accent
#892CB9
background
#FAFBFD
surface
#F4F6FB
border
#CED0D4
text
#0F1115
muted
#7F8083

Preview Lab

Preview with #7895CD

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

Preview Lab → · Contrast checker → · Palette generator →

#7895CD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva