#627FBC#627FBC

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

Color values

HEX#627FBC
RGBrgb(98, 127, 188)
HSLhsl(221, 40%, 56%)
HSVhsv(221, 48%, 74%)
CMYKcmyk(47.9%, 32.4%, 0%, 26.3%)
CIE-LABlab(53.39, 6.50, -35.23)
CIE-LCHlch(53.39, 35.83, 280.46°)
OKLaboklab(60.03% -0.01 -0.099)
OKLCHoklch(60.03% 0.099 264.2)
XYZxyz(21.7005, 21.4049, 50.5553)
Luminance0.2141 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627FBC #BC9F62
analogous
#62ACBC #627FBC #7262BC
triadic
#627FBC #BC627F #7FBC62
tetradic
#627FBC #BC62AC #BC9F62 #62BC72
square
#627FBC #BC62AC #BC9F62 #62BC72
split-complementary
#627FBC #BC7262 #ACBC62
monochromatic
#314673 #43609E #627FBC #8DA2CE #B8C5E1

Accessibility & contrast

On white

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

On black

5.28
#627FBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #627FBC
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627FBC#FFFFFF#000000##000000
##627FBC1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6884BF
Deuteranopia (green-blind)
#5E7CBB
Tritanopia (blue-blind)
#3D8C95
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #627fbc;
/* rgb */ color: rgb(98, 127, 188);
/* oklch */ color: oklch(60.0% 0.099 264.2);
Tailwind
colors: {
  custom: {
    50: '#93a3d0',
    500: '#627fbc',
    950: '#000000',
  },
}
SCSS
$custom: #627fbc;
$custom-light: #93a3d0;
$custom-dark: #000000;
JSON
{
  "hex": "#627fbc",
  "rgb": {
    "r": 98,
    "g": 127,
    "b": 188
  },
  "hsl": {
    "h": 220.667,
    "s": 40.179,
    "l": 56.078
  },
  "oklch": {
    "l": 0.60026,
    "c": 0.09947,
    "h": 264.2
  },
  "luminance": 0.21406
}

Semantic roles & 50–950 ramp

primary
#627FBC
secondary
#CFC4AA
accent
#A958D0
background
#F9FAFC
surface
#F2F3F9
border
#CCCDD2
text
#0D0F14
muted
#7E7F82

Preview Lab

Preview with #627FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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