#6781BE#6781BE

#6781BE is a mid, moderate blue. Relative luminance 0.223; OKLCH L 60.9% C 0.098 H 266.0°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#6781BE
RGBrgb(103, 129, 190)
HSLhsl(222, 40%, 57%)
HSVhsv(222, 46%, 75%)
CMYKcmyk(45.8%, 32.1%, 0%, 25.5%)
CIE-LABlab(54.34, 7.17, -34.86)
CIE-LCHlch(54.34, 35.59, 281.62°)
OKLaboklab(60.88% -0.0069 -0.0978)
OKLCHoklch(60.88% 0.098 266)
XYZxyz(22.7351, 22.3004, 51.8116)
Luminance0.2230 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6781BE #BEA467
analogous
#67ACBE #6781BE #7967BE
triadic
#6781BE #BE6781 #81BE67
tetradic
#6781BE #BE67AC #BEA467 #67BE79
square
#6781BE #BE67AC #BEA467 #67BE79
split-complementary
#6781BE #BE7967 #ACBE67
monochromatic
#334877 #4561A2 #6781BE #92A5D0 #BDC8E3

Accessibility & contrast

On white

3.85
#6781BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#6781BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6781BE
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6781BE#FFFFFF#000000##000000
##6781BE1.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B86C1
Deuteranopia (green-blind)
#627EBD
Tritanopia (blue-blind)
#468E97
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #6781be;
/* rgb */ color: rgb(103, 129, 190);
/* oklch */ color: oklch(60.9% 0.098 266.0);
Tailwind
colors: {
  custom: {
    50: '#96a5d2',
    500: '#6781be',
    950: '#000000',
  },
}
SCSS
$custom: #6781be;
$custom-light: #96a5d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6781be",
  "rgb": {
    "r": 103,
    "g": 129,
    "b": 190
  },
  "hsl": {
    "h": 222.069,
    "s": 40.092,
    "l": 57.451
  },
  "oklch": {
    "l": 0.60879,
    "c": 0.09803,
    "h": 266
  },
  "luminance": 0.22302
}

Semantic roles & 50–950 ramp

primary
#6781BE
secondary
#D2C7AF
accent
#AC58D0
background
#F9FAFC
surface
#F2F4F9
border
#CCCED2
text
#0E0F14
muted
#7E7F82

Preview Lab

Preview with #6781BE

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

Preview Lab → · Contrast checker → · Palette generator →

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