#627CA2#627CA2

#627CA2 is a mid, moderate blue. Relative luminance 0.196; OKLCH L 58.1% C 0.066 H 257.8°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#627CA2
RGBrgb(98, 124, 162)
HSLhsl(216, 26%, 51%)
HSVhsv(216, 40%, 64%)
CMYKcmyk(39.5%, 23.5%, 0%, 36.5%)
CIE-LABlab(51.40, 0.60, -23.32)
CIE-LCHlch(51.40, 23.33, 271.48°)
OKLaboklab(58.1% -0.014 -0.0647)
OKLCHoklch(58.1% 0.066 257.8)
XYZxyz(18.7642, 19.6196, 36.9737)
Luminance0.1962 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627CA2 #A28862
analogous
#629CA2 #627CA2 #6862A2
triadic
#627CA2 #A2627C #7CA262
tetradic
#627CA2 #A2629C #A28862 #62A268
square
#627CA2 #A2629C #A28862 #62A268
split-complementary
#627CA2 #A26862 #9CA262
monochromatic
#334156 #4A5F7D #627CA2 #889CB9 #AFBCD0

Accessibility & contrast

On white

4.26
#627CA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#627CA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #627CA2
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627CA2#FFFFFF#000000##000000
##627CA21.004.264.924.92
#FFFFFF4.261.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E7EA4
Deuteranopia (green-blind)
#6778A1
Tritanopia (blue-blind)
#4D8489
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #627ca2;
/* rgb */ color: rgb(98, 124, 162);
/* oklch */ color: oklch(58.1% 0.066 257.8);
Tailwind
colors: {
  custom: {
    50: '#91a1bd',
    500: '#627ca2',
    950: '#000000',
  },
}
SCSS
$custom: #627ca2;
$custom-light: #91a1bd;
$custom-dark: #000000;
JSON
{
  "hex": "#627ca2",
  "rgb": {
    "r": 98,
    "g": 124,
    "b": 162
  },
  "hsl": {
    "h": 215.625,
    "s": 25.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.58102,
    "c": 0.0662,
    "h": 257.8
  },
  "luminance": 0.19621
}

Semantic roles & 50–950 ramp

primary
#627CA2
secondary
#BEB3A2
accent
#9D66C2
background
#F9F9FB
surface
#F1F2F6
border
#CBCCD0
text
#0D0F12
muted
#7E7E81

Preview Lab

Preview with #627CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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