#626698#626698

#626698 is a mid, moderate blue. Relative luminance 0.144; OKLCH L 52.8% C 0.079 H 279.8°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#626698
RGBrgb(98, 102, 152)
HSLhsl(236, 22%, 49%)
HSVhsv(236, 36%, 60%)
CMYKcmyk(35.5%, 32.9%, 0%, 40.4%)
CIE-LABlab(44.75, 11.04, -27.75)
CIE-LCHlch(44.75, 29.86, 291.69°)
OKLaboklab(52.79% 0.0134 -0.0774)
OKLCHoklch(52.79% 0.079 279.8)
XYZxyz(15.4543, 14.3659, 31.6583)
Luminance0.1437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626698 #989462
analogous
#628198 #626698 #796298
triadic
#626698 #986266 #669862
tetradic
#626698 #986281 #989462 #629879
square
#626698 #986281 #989462 #629879
split-complementary
#626698 #987962 #819862
monochromatic
#32344E #4A4D73 #626698 #8689B1 #ABAEC9

Accessibility & contrast

On white

5.42
#626698 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#626698 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #626698
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626698#FFFFFF#000000##FFFFFF
##6266981.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#566C9A
Deuteranopia (green-blind)
#546897
Tritanopia (blue-blind)
#536F78
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #626698;
/* rgb */ color: rgb(98, 102, 152);
/* oklch */ color: oklch(52.8% 0.079 279.8);
Tailwind
colors: {
  custom: {
    50: '#9091b6',
    500: '#626698',
    950: '#000000',
  },
}
SCSS
$custom: #626698;
$custom-light: #9091b6;
$custom-dark: #000000;
JSON
{
  "hex": "#626698",
  "rgb": {
    "r": 98,
    "g": 102,
    "b": 152
  },
  "hsl": {
    "h": 235.556,
    "s": 21.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.52786,
    "c": 0.07854,
    "h": 279.8
  },
  "luminance": 0.14366
}

Semantic roles & 50–950 ramp

primary
#626698
secondary
#B8B69E
accent
#B86ABE
background
#F9F8FB
surface
#F1F0F6
border
#CBCBD0
text
#0D0C11
muted
#7E7D80

Preview Lab

Preview with #626698

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

Preview Lab → · Contrast checker → · Palette generator →

#626698 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva