#767DCD#767DCD

#767DCD is a mid, vivid blue. Relative luminance 0.229; OKLCH L 61.9% C 0.120 H 278.5°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#767DCD
RGBrgb(118, 125, 205)
HSLhsl(235, 47%, 63%)
HSVhsv(235, 42%, 80%)
CMYKcmyk(42.4%, 39%, 0%, 19.6%)
CIE-LABlab(55.00, 17.81, -42.30)
CIE-LCHlch(55.00, 45.90, 292.84°)
OKLaboklab(61.88% 0.0177 -0.1191)
OKLCHoklch(61.88% 0.12 278.5)
XYZxyz(25.8210, 22.9254, 60.8103)
Luminance0.2293 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767DCD #CDC676
analogous
#76A8CD #767DCD #9A76CD
triadic
#767DCD #CD767D #7DCD76
tetradic
#767DCD #CD76A8 #CDC676 #76CD9A
square
#767DCD #CD76A8 #CDC676 #76CD9A
split-complementary
#767DCD #CD9A76 #A8CD76
monochromatic
#363D93 #4952BD #767DCD #A3A8DD #D0D2EE

Accessibility & contrast

On white

3.76
#767DCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#767DCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #767DCD
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##767DCD#FFFFFF#000000##000000
##767DCD1.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6187D0
Deuteranopia (green-blind)
#5B80CB
Tritanopia (blue-blind)
#5A8D9B
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #767dcd;
/* rgb */ color: rgb(118, 125, 205);
/* oklch */ color: oklch(61.9% 0.120 278.5);
Tailwind
colors: {
  custom: {
    50: '#a1a2dc',
    500: '#767dcd',
    950: '#000000',
  },
}
SCSS
$custom: #767dcd;
$custom-light: #a1a2dc;
$custom-dark: #000000;
JSON
{
  "hex": "#767dcd",
  "rgb": {
    "r": 118,
    "g": 125,
    "b": 205
  },
  "hsl": {
    "h": 235.172,
    "s": 46.524,
    "l": 63.333
  },
  "oklch": {
    "l": 0.61876,
    "c": 0.12044,
    "h": 278.5
  },
  "luminance": 0.22927
}

Semantic roles & 50–950 ramp

primary
#767DCD
secondary
#DFDCC0
accent
#AE2CBA
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#0F0F15
muted
#7F7E83

Preview Lab

Preview with #767DCD

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

Preview Lab → · Contrast checker → · Palette generator →

#767DCD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva