#768CCF#768CCF

#768CCF is a light, moderate blue. Relative luminance 0.271; OKLCH L 65.1% C 0.104 H 269.5°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#768CCF
RGBrgb(118, 140, 207)
HSLhsl(225, 48%, 64%)
HSVhsv(225, 43%, 81%)
CMYKcmyk(43%, 32.4%, 0%, 18.8%)
CIE-LABlab(59.08, 9.51, -37.01)
CIE-LCHlch(59.08, 38.21, 284.41°)
OKLaboklab(65.05% -0.0009 -0.1037)
OKLCHoklch(65.05% 0.104 269.5)
XYZxyz(28.1083, 27.1112, 62.7713)
Luminance0.2711 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768CCF #CFB976
analogous
#76B8CF #768CCF #8C76CF
triadic
#768CCF #CF768C #8CCF76
tetradic
#768CCF #CF76B8 #CFB976 #76CF8C
square
#768CCF #CF76B8 #CFB976 #76CF8C
split-complementary
#768CCF #CF8C76 #B8CF76
monochromatic
#354D96 #4966BF #768CCF #A3B2DF #D1D8EF

Accessibility & contrast

On white

3.27
#768CCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#768CCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768CCF
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768CCF#FFFFFF#000000##000000
##768CCF1.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7492D2
Deuteranopia (green-blind)
#6C8BCD
Tritanopia (blue-blind)
#579AA4
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #768ccf;
/* rgb */ color: rgb(118, 140, 207);
/* oklch */ color: oklch(65.1% 0.104 269.5);
Tailwind
colors: {
  custom: {
    50: '#a1adde',
    500: '#768ccf',
    950: '#000000',
  },
}
SCSS
$custom: #768ccf;
$custom-light: #a1adde;
$custom-dark: #000000;
JSON
{
  "hex": "#768ccf",
  "rgb": {
    "r": 118,
    "g": 140,
    "b": 207
  },
  "hsl": {
    "h": 225.169,
    "s": 48.108,
    "l": 63.725
  },
  "oklch": {
    "l": 0.65053,
    "c": 0.10373,
    "h": 269.5
  },
  "luminance": 0.27113
}

Semantic roles & 50–950 ramp

primary
#768CCF
secondary
#E0D8C1
accent
#972ABB
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#0F1015
muted
#7F7F83

Preview Lab

Preview with #768CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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