#767CCF#767CCF

#767CCF is a mid, vivid blue. Relative luminance 0.228; OKLCH L 61.8% C 0.125 H 278.9°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#767CCF
RGBrgb(118, 124, 207)
HSLhsl(236, 48%, 64%)
HSVhsv(236, 43%, 81%)
CMYKcmyk(43%, 40.1%, 0%, 18.8%)
CIE-LABlab(54.84, 18.99, -43.68)
CIE-LCHlch(54.84, 47.63, 293.50°)
OKLaboklab(61.79% 0.0194 -0.1232)
OKLCHoklch(61.79% 0.125 278.9)
XYZxyz(25.9380, 22.7706, 62.0479)
Luminance0.2277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767CCF #CFC976
analogous
#76A8CF #767CCF #9C76CF
triadic
#767CCF #CF767C #7CCF76
tetradic
#767CCF #CF76A8 #CFC976 #76CF9C
square
#767CCF #CF76A8 #CFC976 #76CF9C
split-complementary
#767CCF #CF9C76 #A8CF76
monochromatic
#353B96 #4951BF #767CCF #A3A7DF #D1D3EF

Accessibility & contrast

On white

3.78
#767CCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#767CCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #767CCF
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##767CCF#FFFFFF#000000##000000
##767CCF1.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E87D2
Deuteranopia (green-blind)
#5880CD
Tritanopia (blue-blind)
#598D9B
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #767ccf;
/* rgb */ color: rgb(118, 124, 207);
/* oklch */ color: oklch(61.8% 0.125 278.9);
Tailwind
colors: {
  custom: {
    50: '#a1a1de',
    500: '#767ccf',
    950: '#000000',
  },
}
SCSS
$custom: #767ccf;
$custom-light: #a1a1de;
$custom-dark: #000000;
JSON
{
  "hex": "#767ccf",
  "rgb": {
    "r": 118,
    "g": 124,
    "b": 207
  },
  "hsl": {
    "h": 235.955,
    "s": 48.108,
    "l": 63.725
  },
  "oklch": {
    "l": 0.61786,
    "c": 0.1247,
    "h": 278.9
  },
  "luminance": 0.22772
}

Semantic roles & 50–950 ramp

primary
#767CCF
secondary
#E0DEC1
accent
#B22ABB
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#0F0F15
muted
#7F7E83

Preview Lab

Preview with #767CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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