#627ABC#627ABC

#627ABC is a mid, moderate blue. Relative luminance 0.201; OKLCH L 58.9% C 0.105 H 267.9°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#627ABC
RGBrgb(98, 122, 188)
HSLhsl(224, 40%, 56%)
HSVhsv(224, 48%, 74%)
CMYKcmyk(47.9%, 35.1%, 0%, 26.3%)
CIE-LABlab(52.00, 9.50, -37.41)
CIE-LCHlch(52.00, 38.60, 284.25°)
OKLaboklab(58.95% -0.0038 -0.1053)
OKLCHoklch(58.95% 0.105 267.9)
XYZxyz(21.0707, 20.1453, 50.3453)
Luminance0.2015 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627ABC #BCA462
analogous
#62A7BC #627ABC #7762BC
triadic
#627ABC #BC627A #7ABC62
tetradic
#627ABC #BC62A7 #BCA462 #62BC77
square
#627ABC #BC62A7 #BCA462 #62BC77
split-complementary
#627ABC #BC7762 #A7BC62
monochromatic
#314273 #435B9E #627ABC #8D9ECE #B8C3E1

Accessibility & contrast

On white

4.18
#627ABC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#627ABC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #627ABC
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627ABC#FFFFFF#000000##000000
##627ABC1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6180BF
Deuteranopia (green-blind)
#5878BB
Tritanopia (blue-blind)
#3E8892
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #627abc;
/* rgb */ color: rgb(98, 122, 188);
/* oklch */ color: oklch(58.9% 0.105 267.9);
Tailwind
colors: {
  custom: {
    50: '#93a0d0',
    500: '#627abc',
    950: '#000000',
  },
}
SCSS
$custom: #627abc;
$custom-light: #93a0d0;
$custom-dark: #000000;
JSON
{
  "hex": "#627abc",
  "rgb": {
    "r": 98,
    "g": 122,
    "b": 188
  },
  "hsl": {
    "h": 224,
    "s": 40.179,
    "l": 56.078
  },
  "oklch": {
    "l": 0.58949,
    "c": 0.10539,
    "h": 267.9
  },
  "luminance": 0.20147
}

Semantic roles & 50–950 ramp

primary
#627ABC
secondary
#CFC6AA
accent
#B058D0
background
#F9F9FC
surface
#F2F2F9
border
#CCCCD2
text
#0D0E14
muted
#7E7E82

Preview Lab

Preview with #627ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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