#627FBB#627FBB

#627FBB is a mid, moderate blue. Relative luminance 0.214; OKLCH L 60.0% C 0.098 H 264.0°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#627FBB
RGBrgb(98, 127, 187)
HSLhsl(220, 40%, 56%)
HSVhsv(220, 48%, 73%)
CMYKcmyk(47.6%, 32.1%, 0%, 26.7%)
CIE-LABlab(53.34, 6.20, -34.73)
CIE-LCHlch(53.34, 35.28, 280.12°)
OKLaboklab(59.98% -0.0103 -0.0975)
OKLCHoklch(59.98% 0.098 264)
XYZxyz(21.5931, 21.3619, 49.9895)
Luminance0.2136 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627FBB #BB9E62
analogous
#62ACBB #627FBB #7162BB
triadic
#627FBB #BB627F #7FBB62
tetradic
#627FBB #BB62AC #BB9E62 #62BB71
square
#627FBB #BB62AC #BB9E62 #62BB71
split-complementary
#627FBB #BB7162 #ACBB62
monochromatic
#314671 #44609C #627FBB #8DA2CD #B7C5E0

Accessibility & contrast

On white

3.98
#627FBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#627FBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #627FBB
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627FBB#FFFFFF#000000##000000
##627FBB1.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6984BE
Deuteranopia (green-blind)
#5F7CBA
Tritanopia (blue-blind)
#3E8C94
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #627fbb;
/* rgb */ color: rgb(98, 127, 187);
/* oklch */ color: oklch(60.0% 0.098 264.0);
Tailwind
colors: {
  custom: {
    50: '#93a3cf',
    500: '#627fbb',
    950: '#000000',
  },
}
SCSS
$custom: #627fbb;
$custom-light: #93a3cf;
$custom-dark: #000000;
JSON
{
  "hex": "#627fbb",
  "rgb": {
    "r": 98,
    "g": 127,
    "b": 187
  },
  "hsl": {
    "h": 220.449,
    "s": 39.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.59975,
    "c": 0.09806,
    "h": 264
  },
  "luminance": 0.21363
}

Semantic roles & 50–950 ramp

primary
#627FBB
secondary
#CFC3AA
accent
#A958CF
background
#F9FAFC
surface
#F2F3F9
border
#CCCDD2
text
#0D0F14
muted
#7E7F82

Preview Lab

Preview with #627FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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