#768EB2#768EB2

#768EB2 is a light, moderate blue. Relative luminance 0.264; OKLCH L 64.1% C 0.061 H 258.3°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#768EB2
RGBrgb(118, 142, 178)
HSLhsl(216, 28%, 58%)
HSVhsv(216, 34%, 70%)
CMYKcmyk(33.7%, 20.2%, 0%, 30.2%)
CIE-LABlab(58.42, 0.32, -21.62)
CIE-LCHlch(58.42, 21.63, 270.85°)
OKLaboklab(64.15% -0.0123 -0.0596)
OKLCHoklch(64.15% 0.061 258.3)
XYZxyz(25.1777, 26.4108, 45.8820)
Luminance0.2641 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768EB2 #B29A76
analogous
#76ACB2 #768EB2 #7C76B2
triadic
#768EB2 #B2768E #8EB276
tetradic
#768EB2 #B276AC #B29A76 #76B27C
square
#768EB2 #B276AC #B29A76 #76B27C
split-complementary
#768EB2 #B27C76 #ACB276
monochromatic
#3E526F #546F96 #768EB2 #9DAEC8 #C4CFDE

Accessibility & contrast

On white

3.34
#768EB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#768EB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768EB2
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768EB2#FFFFFF#000000##000000
##768EB21.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8190B4
Deuteranopia (green-blind)
#7B8AB1
Tritanopia (blue-blind)
#64969A
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #768eb2;
/* rgb */ color: rgb(118, 142, 178);
/* oklch */ color: oklch(64.1% 0.061 258.3);
Tailwind
colors: {
  custom: {
    50: '#9fafc9',
    500: '#768eb2',
    950: '#000000',
  },
}
SCSS
$custom: #768eb2;
$custom-light: #9fafc9;
$custom-dark: #000000;
JSON
{
  "hex": "#768eb2",
  "rgb": {
    "r": 118,
    "g": 142,
    "b": 178
  },
  "hsl": {
    "h": 216,
    "s": 28.037,
    "l": 58.039
  },
  "oklch": {
    "l": 0.64149,
    "c": 0.06091,
    "h": 258.3
  },
  "luminance": 0.26412
}

Semantic roles & 50–950 ramp

primary
#768EB2
secondary
#CEC4B6
accent
#9E63C4
background
#F9FAFC
surface
#F2F4F8
border
#CCCED1
text
#0F1013
muted
#7E7F82

Preview Lab

Preview with #768EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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