#768FB2#768FB2

#768FB2 is a light, moderate blue. Relative luminance 0.267; OKLCH L 64.4% C 0.060 H 256.8°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#768FB2
RGBrgb(118, 143, 178)
HSLhsl(215, 28%, 58%)
HSVhsv(215, 34%, 70%)
CMYKcmyk(33.7%, 19.7%, 0%, 30.2%)
CIE-LABlab(58.70, -0.25, -21.20)
CIE-LCHlch(58.70, 21.20, 269.32°)
OKLaboklab(64.37% -0.0137 -0.0584)
OKLCHoklch(64.37% 0.06 256.8)
XYZxyz(25.3271, 26.7097, 45.9318)
Luminance0.2671 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768FB2 #B29976
analogous
#76ADB2 #768FB2 #7B76B2
triadic
#768FB2 #B2768F #8FB276
tetradic
#768FB2 #B276AD #B29976 #76B27B
square
#768FB2 #B276AD #B29976 #76B27B
split-complementary
#768FB2 #B27B76 #ADB276
monochromatic
#3E536F #547096 #768FB2 #9DAFC8 #C4CFDE

Accessibility & contrast

On white

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

On black

6.34
#768FB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768FB2
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768FB2#FFFFFF#000000##000000
##768FB21.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8390B4
Deuteranopia (green-blind)
#7C8BB1
Tritanopia (blue-blind)
#64969B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #768fb2;
/* rgb */ color: rgb(118, 143, 178);
/* oklch */ color: oklch(64.4% 0.060 256.8);
Tailwind
colors: {
  custom: {
    50: '#9fafc9',
    500: '#768fb2',
    950: '#000000',
  },
}
SCSS
$custom: #768fb2;
$custom-light: #9fafc9;
$custom-dark: #000000;
JSON
{
  "hex": "#768fb2",
  "rgb": {
    "r": 118,
    "g": 143,
    "b": 178
  },
  "hsl": {
    "h": 215,
    "s": 28.037,
    "l": 58.039
  },
  "oklch": {
    "l": 0.64368,
    "c": 0.06003,
    "h": 256.8
  },
  "luminance": 0.26711
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #768FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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