#768EB3#768EB3

#768EB3 is a light, moderate blue. Relative luminance 0.265; OKLCH L 64.2% C 0.062 H 258.9°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#768EB3
RGBrgb(118, 142, 179)
HSLhsl(216, 29%, 58%)
HSVhsv(216, 34%, 70%)
CMYKcmyk(34.1%, 20.7%, 0%, 29.8%)
CIE-LABlab(58.46, 0.58, -22.13)
CIE-LCHlch(58.46, 22.14, 271.51°)
OKLaboklab(64.19% -0.012 -0.0611)
OKLCHoklch(64.19% 0.062 258.9)
XYZxyz(25.2785, 26.4511, 46.4127)
Luminance0.2645 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768EB3 #B39B76
analogous
#76ACB3 #768EB3 #7C76B3
triadic
#768EB3 #B3768E #8EB376
tetradic
#768EB3 #B376AC #B39B76 #76B37C
square
#768EB3 #B376AC #B39B76 #76B37C
split-complementary
#768EB3 #B37C76 #ACB376
monochromatic
#3E5270 #546F98 #768EB3 #9DAEC9 #C5CFDF

Accessibility & contrast

On white

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

On black

6.29
#768EB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768EB3
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768EB3#FFFFFF#000000##000000
##768EB31.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8190B5
Deuteranopia (green-blind)
#7B8AB2
Tritanopia (blue-blind)
#64969A
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #768eb3;
/* rgb */ color: rgb(118, 142, 179);
/* oklch */ color: oklch(64.2% 0.062 258.9);
Tailwind
colors: {
  custom: {
    50: '#9fafc9',
    500: '#768eb3',
    950: '#000000',
  },
}
SCSS
$custom: #768eb3;
$custom-light: #9fafc9;
$custom-dark: #000000;
JSON
{
  "hex": "#768eb3",
  "rgb": {
    "r": 118,
    "g": 142,
    "b": 179
  },
  "hsl": {
    "h": 216.393,
    "s": 28.638,
    "l": 58.235
  },
  "oklch": {
    "l": 0.64191,
    "c": 0.06226,
    "h": 258.9
  },
  "luminance": 0.26452
}

Semantic roles & 50–950 ramp

primary
#768EB3
secondary
#CFC5B6
accent
#9E63C5
background
#F9FAFC
surface
#F2F4F8
border
#CCCED1
text
#0F1013
muted
#7E7F82

Preview Lab

Preview with #768EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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