#627AAA#627AAA

#627AAA is a mid, moderate blue. Relative luminance 0.194; OKLCH L 58.0% C 0.080 H 263.7°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#627AAA
RGBrgb(98, 122, 170)
HSLhsl(220, 30%, 53%)
HSVhsv(220, 42%, 67%)
CMYKcmyk(42.4%, 28.2%, 0%, 33.3%)
CIE-LABlab(51.17, 4.10, -28.32)
CIE-LCHlch(51.17, 28.62, 278.23°)
OKLaboklab(58.03% -0.0088 -0.079)
OKLCHoklch(58.03% 0.08 263.7)
XYZxyz(19.2499, 19.4170, 40.7559)
Luminance0.1942 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627AAA #AA9262
analogous
#629EAA #627AAA #6E62AA
triadic
#627AAA #AA627A #7AAA62
tetradic
#627AAA #AA629E #AA9262 #62AA6E
square
#627AAA #AA629E #AA9262 #62AA6E
split-complementary
#627AAA #AA6E62 #9EAA62
monochromatic
#33425E #495D86 #627AAA #8A9CBF #B1BDD5

Accessibility & contrast

On white

4.30
#627AAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#627AAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #627AAA
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627AAA#FFFFFF#000000##000000
##627AAA1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#697EAC
Deuteranopia (green-blind)
#6177A9
Tritanopia (blue-blind)
#49848B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #627aaa;
/* rgb */ color: rgb(98, 122, 170);
/* oklch */ color: oklch(58.0% 0.080 263.7);
Tailwind
colors: {
  custom: {
    50: '#92a0c3',
    500: '#627aaa',
    950: '#000000',
  },
}
SCSS
$custom: #627aaa;
$custom-light: #92a0c3;
$custom-dark: #000000;
JSON
{
  "hex": "#627aaa",
  "rgb": {
    "r": 98,
    "g": 122,
    "b": 170
  },
  "hsl": {
    "h": 220,
    "s": 29.752,
    "l": 52.549
  },
  "oklch": {
    "l": 0.58032,
    "c": 0.07952,
    "h": 263.7
  },
  "luminance": 0.19418
}

Semantic roles & 50–950 ramp

primary
#627AAA
secondary
#C4B9A4
accent
#A562C6
background
#F9F9FC
surface
#F1F2F8
border
#CBCCD1
text
#0D0E12
muted
#7E7E81

Preview Lab

Preview with #627AAA

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

Preview Lab → · Contrast checker → · Palette generator →

#627AAA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva