#768FB5#768FB5

#768FB5 is a light, moderate blue. Relative luminance 0.268; OKLCH L 64.5% C 0.064 H 258.6°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#768FB5
RGBrgb(118, 143, 181)
HSLhsl(216, 30%, 59%)
HSVhsv(216, 35%, 71%)
CMYKcmyk(34.8%, 21%, 0%, 29%)
CIE-LABlab(58.82, 0.54, -22.73)
CIE-LCHlch(58.82, 22.73, 271.37°)
OKLaboklab(64.49% -0.0126 -0.0628)
OKLCHoklch(64.49% 0.064 258.6)
XYZxyz(25.6316, 26.8315, 47.5356)
Luminance0.2683 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768FB5 #B59C76
analogous
#76AEB5 #768FB5 #7C76B5
triadic
#768FB5 #B5768F #8FB576
tetradic
#768FB5 #B576AE #B59C76 #76B57C
square
#768FB5 #B576AE #B59C76 #76B57C
split-complementary
#768FB5 #B57C76 #AEB576
monochromatic
#3E5373 #53709A #768FB5 #9EAFCA #C5D0E0

Accessibility & contrast

On white

3.30
#768FB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#768FB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768FB5
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768FB5#FFFFFF#000000##000000
##768FB51.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8291B7
Deuteranopia (green-blind)
#7B8BB4
Tritanopia (blue-blind)
#63979C
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #768fb5;
/* rgb */ color: rgb(118, 143, 181);
/* oklch */ color: oklch(64.5% 0.064 258.6);
Tailwind
colors: {
  custom: {
    50: '#9fafcb',
    500: '#768fb5',
    950: '#000000',
  },
}
SCSS
$custom: #768fb5;
$custom-light: #9fafcb;
$custom-dark: #000000;
JSON
{
  "hex": "#768fb5",
  "rgb": {
    "r": 118,
    "g": 143,
    "b": 181
  },
  "hsl": {
    "h": 216.19,
    "s": 29.858,
    "l": 58.627
  },
  "oklch": {
    "l": 0.64494,
    "c": 0.06404,
    "h": 258.6
  },
  "luminance": 0.26833
}

Semantic roles & 50–950 ramp

primary
#768FB5
secondary
#D0C6B7
accent
#9E62C6
background
#F9FAFC
surface
#F2F4F8
border
#CCCED1
text
#0F1013
muted
#7E7F82

Preview Lab

Preview with #768FB5

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

Preview Lab → · Contrast checker → · Palette generator →

#768FB5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva