#768DB2#768DB2

#768DB2 is a light, moderate blue. Relative luminance 0.261; OKLCH L 63.9% C 0.062 H 259.8°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#768DB2
RGBrgb(118, 141, 178)
HSLhsl(217, 28%, 58%)
HSVhsv(217, 34%, 70%)
CMYKcmyk(33.7%, 20.8%, 0%, 30.2%)
CIE-LABlab(58.15, 0.89, -22.05)
CIE-LCHlch(58.15, 22.07, 272.32°)
OKLaboklab(63.93% -0.0109 -0.0609)
OKLCHoklch(63.93% 0.062 259.8)
XYZxyz(25.0296, 26.1146, 45.8327)
Luminance0.2612 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768DB2 #B29B76
analogous
#76ABB2 #768DB2 #7D76B2
triadic
#768DB2 #B2768D #8DB276
tetradic
#768DB2 #B276AB #B29B76 #76B27D
square
#768DB2 #B276AB #B29B76 #76B27D
split-complementary
#768DB2 #B27D76 #ABB276
monochromatic
#3E516F #546E96 #768DB2 #9DAEC8 #C4CEDE

Accessibility & contrast

On white

3.37
#768DB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#768DB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768DB2
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768DB2#FFFFFF#000000##000000
##768DB21.003.376.226.22
#FFFFFF3.371.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#808FB4
Deuteranopia (green-blind)
#7A89B1
Tritanopia (blue-blind)
#649599
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #768db2;
/* rgb */ color: rgb(118, 141, 178);
/* oklch */ color: oklch(63.9% 0.062 259.8);
Tailwind
colors: {
  custom: {
    50: '#9faec9',
    500: '#768db2',
    950: '#000000',
  },
}
SCSS
$custom: #768db2;
$custom-light: #9faec9;
$custom-dark: #000000;
JSON
{
  "hex": "#768db2",
  "rgb": {
    "r": 118,
    "g": 141,
    "b": 178
  },
  "hsl": {
    "h": 217,
    "s": 28.037,
    "l": 58.039
  },
  "oklch": {
    "l": 0.6393,
    "c": 0.06184,
    "h": 259.8
  },
  "luminance": 0.26116
}

Semantic roles & 50–950 ramp

primary
#768DB2
secondary
#CEC5B6
accent
#9F63C4
background
#F9FAFC
surface
#F2F4F8
border
#CCCED1
text
#0F1013
muted
#7E7F82

Preview Lab

Preview with #768DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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