#626ABC#626ABC

#626ABC is a mid, vivid blue. Relative luminance 0.165; OKLCH L 55.6% C 0.126 H 277.2°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#626ABC
RGBrgb(98, 106, 188)
HSLhsl(235, 40%, 56%)
HSVhsv(235, 48%, 74%)
CMYKcmyk(47.9%, 43.6%, 0%, 26.3%)
CIE-LABlab(47.67, 19.28, -44.26)
CIE-LCHlch(47.67, 48.28, 293.53°)
OKLaboklab(55.62% 0.016 -0.1254)
OKLCHoklch(55.62% 0.126 277.2)
XYZxyz(19.2653, 16.5345, 49.7435)
Luminance0.1654 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626ABC #BCB462
analogous
#6297BC #626ABC #8762BC
triadic
#626ABC #BC626A #6ABC62
tetradic
#626ABC #BC6297 #BCB462 #62BC87
square
#626ABC #BC6297 #BCB462 #62BC87
split-complementary
#626ABC #BC8762 #97BC62
monochromatic
#313773 #434B9E #626ABC #8D93CE #B8BBE1

Accessibility & contrast

On white

4.88
#626ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#626ABC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #626ABC
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626ABC#FFFFFF#000000##FFFFFF
##626ABC1.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4975BF
Deuteranopia (green-blind)
#426EBA
Tritanopia (blue-blind)
#417B8A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #626abc;
/* rgb */ color: rgb(98, 106, 188);
/* oklch */ color: oklch(55.6% 0.126 277.2);
Tailwind
colors: {
  custom: {
    50: '#9494d0',
    500: '#626abc',
    950: '#000000',
  },
}
SCSS
$custom: #626abc;
$custom-light: #9494d0;
$custom-dark: #000000;
JSON
{
  "hex": "#626abc",
  "rgb": {
    "r": 98,
    "g": 106,
    "b": 188
  },
  "hsl": {
    "h": 234.667,
    "s": 40.179,
    "l": 56.078
  },
  "oklch": {
    "l": 0.5562,
    "c": 0.12642,
    "h": 277.2
  },
  "luminance": 0.16536
}

Semantic roles & 50–950 ramp

primary
#626ABC
secondary
#CFCCAA
accent
#C558D0
background
#F9F9FC
surface
#F2F1F9
border
#CCCBD2
text
#0E0D14
muted
#7E7E82

Preview Lab

Preview with #626ABC

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

Preview Lab → · Contrast checker → · Palette generator →

#626ABC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva