#627FAC#627FAC

#627FAC is a mid, moderate blue. Relative luminance 0.208; OKLCH L 59.2% C 0.077 H 259.0°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#627FAC
RGBrgb(98, 127, 172)
HSLhsl(216, 31%, 53%)
HSVhsv(216, 43%, 67%)
CMYKcmyk(43%, 26.2%, 0%, 32.5%)
CIE-LABlab(52.68, 1.72, -27.14)
CIE-LCHlch(52.68, 27.20, 273.62°)
OKLaboklab(59.24% -0.0147 -0.0756)
OKLCHoklch(59.24% 0.077 259)
XYZxyz(20.0704, 20.7528, 41.9699)
Luminance0.2075 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627FAC #AC8F62
analogous
#62A4AC #627FAC #6A62AC
triadic
#627FAC #AC627F #7FAC62
tetradic
#627FAC #AC62A4 #AC8F62 #62AC6A
square
#627FAC #AC62A4 #AC8F62 #62AC6A
split-complementary
#627FAC #AC6A62 #A4AC62
monochromatic
#334561 #486189 #627FAC #8AA0C1 #B2C0D6

Accessibility & contrast

On white

4.08
#627FAC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#627FAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #627FAC
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627FAC#FFFFFF#000000##000000
##627FAC1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F82AE
Deuteranopia (green-blind)
#667BAB
Tritanopia (blue-blind)
#47898F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #627fac;
/* rgb */ color: rgb(98, 127, 172);
/* oklch */ color: oklch(59.2% 0.077 259.0);
Tailwind
colors: {
  custom: {
    50: '#92a4c5',
    500: '#627fac',
    950: '#000000',
  },
}
SCSS
$custom: #627fac;
$custom-light: #92a4c5;
$custom-dark: #000000;
JSON
{
  "hex": "#627fac",
  "rgb": {
    "r": 98,
    "g": 127,
    "b": 172
  },
  "hsl": {
    "h": 216.486,
    "s": 30.833,
    "l": 52.941
  },
  "oklch": {
    "l": 0.59237,
    "c": 0.07706,
    "h": 259
  },
  "luminance": 0.20754
}

Semantic roles & 50–950 ramp

primary
#627FAC
secondary
#C5B8A5
accent
#9F61C7
background
#F9FAFC
surface
#F1F3F8
border
#CBCDD1
text
#0D0F12
muted
#7E7F81

Preview Lab

Preview with #627FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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