#627BA2#627BA2

#627BA2 is a mid, moderate blue. Relative luminance 0.194; OKLCH L 57.9% C 0.067 H 259.1°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#627BA2
RGBrgb(98, 123, 162)
HSLhsl(217, 26%, 51%)
HSVhsv(217, 40%, 64%)
CMYKcmyk(39.5%, 24.1%, 0%, 36.5%)
CIE-LABlab(51.12, 1.19, -23.76)
CIE-LCHlch(51.12, 23.79, 272.87°)
OKLaboklab(57.88% -0.0127 -0.066)
OKLCHoklch(57.88% 0.067 259.1)
XYZxyz(18.6395, 19.3703, 36.9321)
Luminance0.1937 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627BA2 #A28962
analogous
#629BA2 #627BA2 #6962A2
triadic
#627BA2 #A2627B #7BA262
tetradic
#627BA2 #A2629B #A28962 #62A269
square
#627BA2 #A2629B #A28962 #62A269
split-complementary
#627BA2 #A26962 #9BA262
monochromatic
#334156 #4A5E7D #627BA2 #889BB9 #AFBCD0

Accessibility & contrast

On white

4.31
#627BA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#627BA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #627BA2
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627BA2#FFFFFF#000000##000000
##627BA21.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D7DA4
Deuteranopia (green-blind)
#6677A1
Tritanopia (blue-blind)
#4D8388
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #627ba2;
/* rgb */ color: rgb(98, 123, 162);
/* oklch */ color: oklch(57.9% 0.067 259.1);
Tailwind
colors: {
  custom: {
    50: '#91a1bd',
    500: '#627ba2',
    950: '#000000',
  },
}
SCSS
$custom: #627ba2;
$custom-light: #91a1bd;
$custom-dark: #000000;
JSON
{
  "hex": "#627ba2",
  "rgb": {
    "r": 98,
    "g": 123,
    "b": 162
  },
  "hsl": {
    "h": 216.563,
    "s": 25.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.57878,
    "c": 0.06717,
    "h": 259.1
  },
  "luminance": 0.19371
}

Semantic roles & 50–950 ramp

primary
#627BA2
secondary
#BEB3A2
accent
#9E66C2
background
#F9F9FB
surface
#F1F2F6
border
#CBCCD0
text
#0D0E12
muted
#7E7E81

Preview Lab

Preview with #627BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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