#767BCB#767BCB

#767BCB is a mid, vivid blue. Relative luminance 0.223; OKLCH L 61.4% C 0.120 H 279.5°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#767BCB
RGBrgb(118, 123, 203)
HSLhsl(236, 45%, 63%)
HSVhsv(236, 42%, 80%)
CMYKcmyk(41.9%, 39.4%, 0%, 20.4%)
CIE-LABlab(54.37, 18.43, -42.14)
CIE-LCHlch(54.37, 46.00, 293.62°)
OKLaboklab(61.37% 0.0199 -0.1187)
OKLCHoklch(61.37% 0.12 279.5)
XYZxyz(25.3305, 22.3281, 59.4634)
Luminance0.2233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767BCB #CBC676
analogous
#76A5CB #767BCB #9C76CB
triadic
#767BCB #CB767B #7BCB76
tetradic
#767BCB #CB76A5 #CBC676 #76CB9C
square
#767BCB #CB76A5 #CBC676 #76CB9C
split-complementary
#767BCB #CB9C76 #A5CB76
monochromatic
#373C90 #4A50BA #767BCB #A2A6DC #CFD0ED

Accessibility & contrast

On white

3.84
#767BCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#767BCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #767BCB
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##767BCB#FFFFFF#000000##000000
##767BCB1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F85CE
Deuteranopia (green-blind)
#597FC9
Tritanopia (blue-blind)
#5B8B99
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #767bcb;
/* rgb */ color: rgb(118, 123, 203);
/* oklch */ color: oklch(61.4% 0.120 279.5);
Tailwind
colors: {
  custom: {
    50: '#a1a1db',
    500: '#767bcb',
    950: '#000000',
  },
}
SCSS
$custom: #767bcb;
$custom-light: #a1a1db;
$custom-dark: #000000;
JSON
{
  "hex": "#767bcb",
  "rgb": {
    "r": 118,
    "g": 123,
    "b": 203
  },
  "hsl": {
    "h": 236.471,
    "s": 44.974,
    "l": 62.941
  },
  "oklch": {
    "l": 0.61367,
    "c": 0.12034,
    "h": 279.5
  },
  "luminance": 0.22329
}

Semantic roles & 50–950 ramp

primary
#767BCB
secondary
#DEDCBF
accent
#B02DB8
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#0F0E15
muted
#7F7E83

Preview Lab

Preview with #767BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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