#768FB3#768FB3

#768FB3 is a light, moderate blue. Relative luminance 0.268; OKLCH L 64.4% C 0.061 H 257.5°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#768FB3
RGBrgb(118, 143, 179)
HSLhsl(215, 29%, 58%)
HSVhsv(215, 34%, 70%)
CMYKcmyk(34.1%, 20.1%, 0%, 29.8%)
CIE-LABlab(58.74, 0.01, -21.71)
CIE-LCHlch(58.74, 21.71, 270.03°)
OKLaboklab(64.41% -0.0133 -0.0599)
OKLCHoklch(64.41% 0.061 257.5)
XYZxyz(25.4279, 26.7500, 46.4626)
Luminance0.2675 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768FB3 #B39A76
analogous
#76ADB3 #768FB3 #7B76B3
triadic
#768FB3 #B3768F #8FB376
tetradic
#768FB3 #B376AD #B39A76 #76B37B
square
#768FB3 #B376AD #B39A76 #76B37B
split-complementary
#768FB3 #B37B76 #ADB376
monochromatic
#3E5370 #547098 #768FB3 #9DAFC9 #C5CFDF

Accessibility & contrast

On white

3.31
#768FB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#768FB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768FB3
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768FB3#FFFFFF#000000##000000
##768FB31.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8291B5
Deuteranopia (green-blind)
#7C8BB2
Tritanopia (blue-blind)
#63979B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #768fb3;
/* rgb */ color: rgb(118, 143, 179);
/* oklch */ color: oklch(64.4% 0.061 257.5);
Tailwind
colors: {
  custom: {
    50: '#9fafc9',
    500: '#768fb3',
    950: '#000000',
  },
}
SCSS
$custom: #768fb3;
$custom-light: #9fafc9;
$custom-dark: #000000;
JSON
{
  "hex": "#768fb3",
  "rgb": {
    "r": 118,
    "g": 143,
    "b": 179
  },
  "hsl": {
    "h": 215.41,
    "s": 28.638,
    "l": 58.235
  },
  "oklch": {
    "l": 0.6441,
    "c": 0.06135,
    "h": 257.5
  },
  "luminance": 0.26751
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #768FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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