#6668AB#6668AB

#6668AB is a mid, moderate blue. Relative luminance 0.157; OKLCH L 54.5% C 0.104 H 281.1°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#6668AB
RGBrgb(102, 104, 171)
HSLhsl(238, 29%, 54%)
HSVhsv(238, 40%, 67%)
CMYKcmyk(40.4%, 39.2%, 0%, 32.9%)
CIE-LABlab(46.53, 16.41, -36.15)
CIE-LCHlch(46.53, 39.70, 294.42°)
OKLaboklab(54.53% 0.0199 -0.1016)
OKLCHoklch(54.53% 0.104 281.1)
XYZxyz(17.7784, 15.6650, 40.6071)
Luminance0.1567 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6668AB #ABA966
analogous
#668AAB #6668AB #8666AB
triadic
#6668AB #AB6668 #68AB66
tetradic
#6668AB #AB668A #ABA966 #66AB86
square
#6668AB #AB668A #ABA966 #66AB86
split-complementary
#6668AB #AB8666 #8AAB66
monochromatic
#353761 #4B4D89 #6668AB #8E8FC1 #B5B6D6

Accessibility & contrast

On white

5.08
#6668AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#6668AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6668AB
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6668AB#FFFFFF#000000##FFFFFF
##6668AB1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5171AE
Deuteranopia (green-blind)
#4D6CA9
Tritanopia (blue-blind)
#527581
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6668ab;
/* rgb */ color: rgb(102, 104, 171);
/* oklch */ color: oklch(54.5% 0.104 281.1);
Tailwind
colors: {
  custom: {
    50: '#9493c4',
    500: '#6668ab',
    950: '#000000',
  },
}
SCSS
$custom: #6668ab;
$custom-light: #9493c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6668ab",
  "rgb": {
    "r": 102,
    "g": 104,
    "b": 171
  },
  "hsl": {
    "h": 238.261,
    "s": 29.114,
    "l": 53.529
  },
  "oklch": {
    "l": 0.54533,
    "c": 0.10356,
    "h": 281.1
  },
  "luminance": 0.15666
}

Semantic roles & 50–950 ramp

primary
#6668AB
secondary
#C5C4A8
accent
#C362C5
background
#F9F9FC
surface
#F2F1F8
border
#CCCBD1
text
#0D0D12
muted
#7E7E81

Preview Lab

Preview with #6668AB

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

Preview Lab → · Contrast checker → · Palette generator →

#6668AB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva