#627FB2#627FB2

#627FB2 is a mid, moderate blue. Relative luminance 0.210; OKLCH L 59.5% C 0.085 H 261.3°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#627FB2
RGBrgb(98, 127, 178)
HSLhsl(218, 34%, 54%)
HSVhsv(218, 45%, 70%)
CMYKcmyk(44.9%, 28.7%, 0%, 30.2%)
CIE-LABlab(52.94, 3.49, -30.20)
CIE-LCHlch(52.94, 30.40, 276.59°)
OKLaboklab(59.52% -0.0129 -0.0844)
OKLCHoklch(59.52% 0.085 261.3)
XYZxyz(20.6597, 20.9885, 45.0734)
Luminance0.2099 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627FB2 #B29562
analogous
#62A7B2 #627FB2 #6D62B2
triadic
#627FB2 #B2627F #7FB262
tetradic
#627FB2 #B262A7 #B29562 #62B26D
square
#627FB2 #B262A7 #B29562 #62B26D
split-complementary
#627FB2 #B26D62 #A7B262
monochromatic
#334667 #476190 #627FB2 #8BA0C6 #B4C2DA

Accessibility & contrast

On white

4.04
#627FB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#627FB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #627FB2
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627FB2#FFFFFF#000000##000000
##627FB21.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C82B4
Deuteranopia (green-blind)
#637BB1
Tritanopia (blue-blind)
#448A91
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #627fb2;
/* rgb */ color: rgb(98, 127, 178);
/* oklch */ color: oklch(59.5% 0.085 261.3);
Tailwind
colors: {
  custom: {
    50: '#92a3c9',
    500: '#627fb2',
    950: '#000000',
  },
}
SCSS
$custom: #627fb2;
$custom-light: #92a3c9;
$custom-dark: #000000;
JSON
{
  "hex": "#627fb2",
  "rgb": {
    "r": 98,
    "g": 127,
    "b": 178
  },
  "hsl": {
    "h": 218.25,
    "s": 34.188,
    "l": 54.118
  },
  "oklch": {
    "l": 0.59524,
    "c": 0.08539,
    "h": 261.3
  },
  "luminance": 0.2099
}

Semantic roles & 50–950 ramp

primary
#627FB2
secondary
#C9BDA7
accent
#A35ECA
background
#F9FAFC
surface
#F1F3F8
border
#CBCDD1
text
#0D0F13
muted
#7E7F82

Preview Lab

Preview with #627FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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