#6781AF#6781AF

#6781AF is a mid, moderate blue. Relative luminance 0.217; OKLCH L 60.1% C 0.077 H 261.5°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#6781AF
RGBrgb(103, 129, 175)
HSLhsl(218, 31%, 55%)
HSVhsv(218, 41%, 69%)
CMYKcmyk(41.1%, 26.3%, 0%, 31.4%)
CIE-LABlab(53.68, 2.77, -27.29)
CIE-LCHlch(53.68, 27.43, 275.79°)
OKLaboklab(60.15% -0.0113 -0.076)
OKLCHoklch(60.15% 0.077 261.5)
XYZxyz(21.1792, 21.6781, 43.6174)
Luminance0.2168 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6781AF #AF9567
analogous
#67A5AF #6781AF #7167AF
triadic
#6781AF #AF6781 #81AF67
tetradic
#6781AF #AF67A5 #AF9567 #67AF71
square
#6781AF #AF67A5 #AF9567 #67AF71
split-complementary
#6781AF #AF7167 #A5AF67
monochromatic
#364766 #4B638E #6781AF #8FA2C4 #B7C3D9

Accessibility & contrast

On white

3.94
#6781AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#6781AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6781AF
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6781AF#FFFFFF#000000##000000
##6781AF1.003.945.345.34
#FFFFFF3.941.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7184B1
Deuteranopia (green-blind)
#697DAE
Tritanopia (blue-blind)
#4E8B91
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6781af;
/* rgb */ color: rgb(103, 129, 175);
/* oklch */ color: oklch(60.1% 0.077 261.5);
Tailwind
colors: {
  custom: {
    50: '#95a5c7',
    500: '#6781af',
    950: '#000000',
  },
}
SCSS
$custom: #6781af;
$custom-light: #95a5c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6781af",
  "rgb": {
    "r": 103,
    "g": 129,
    "b": 175
  },
  "hsl": {
    "h": 218.333,
    "s": 31.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.60146,
    "c": 0.07682,
    "h": 261.5
  },
  "luminance": 0.21679
}

Semantic roles & 50–950 ramp

primary
#6781AF
secondary
#C8BDAA
accent
#A261C7
background
#F9FAFC
surface
#F2F4F8
border
#CCCED1
text
#0D0F13
muted
#7E7F82

Preview Lab

Preview with #6781AF

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

Preview Lab → · Contrast checker → · Palette generator →

#6781AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva