#627EBA#627EBA

#627EBA is a mid, moderate blue. Relative luminance 0.211; OKLCH L 59.7% C 0.098 H 264.5°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#627EBA
RGBrgb(98, 126, 186)
HSLhsl(221, 39%, 56%)
HSVhsv(221, 47%, 73%)
CMYKcmyk(47.3%, 32.3%, 0%, 27.1%)
CIE-LABlab(53.02, 6.49, -34.67)
CIE-LCHlch(53.02, 35.27, 280.60°)
OKLaboklab(59.71% -0.0093 -0.0973)
OKLCHoklch(59.71% 0.098 264.5)
XYZxyz(21.3579, 21.0622, 49.3848)
Luminance0.2106 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627EBA #BA9E62
analogous
#62AABA #627EBA #7262BA
triadic
#627EBA #BA627E #7EBA62
tetradic
#627EBA #BA62AA #BA9E62 #62BA72
square
#627EBA #BA62AA #BA9E62 #62BA72
split-complementary
#627EBA #BA7262 #AABA62
monochromatic
#314570 #44609B #627EBA #8DA1CD #B7C4DF

Accessibility & contrast

On white

4.03
#627EBA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#627EBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #627EBA
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627EBA#FFFFFF#000000##000000
##627EBA1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6883BD
Deuteranopia (green-blind)
#5E7BB9
Tritanopia (blue-blind)
#3F8B94
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #627eba;
/* rgb */ color: rgb(98, 126, 186);
/* oklch */ color: oklch(59.7% 0.098 264.5);
Tailwind
colors: {
  custom: {
    50: '#93a3cf',
    500: '#627eba',
    950: '#000000',
  },
}
SCSS
$custom: #627eba;
$custom-light: #93a3cf;
$custom-dark: #000000;
JSON
{
  "hex": "#627eba",
  "rgb": {
    "r": 98,
    "g": 126,
    "b": 186
  },
  "hsl": {
    "h": 220.909,
    "s": 38.938,
    "l": 55.686
  },
  "oklch": {
    "l": 0.59706,
    "c": 0.09778,
    "h": 264.5
  },
  "luminance": 0.21064
}

Semantic roles & 50–950 ramp

primary
#627EBA
secondary
#CEC3AA
accent
#A959CF
background
#F9FAFC
surface
#F2F3F9
border
#CCCDD2
text
#0D0F14
muted
#7E7F82

Preview Lab

Preview with #627EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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