#627BE1#627BE1

#627BE1 is a mid, vivid blue. Relative luminance 0.222; OKLCH L 61.3% C 0.156 H 270.8°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#627BE1
RGBrgb(98, 123, 225)
HSLhsl(228, 68%, 63%)
HSVhsv(228, 56%, 88%)
CMYKcmyk(56.4%, 45.3%, 0%, 11.8%)
CIE-LABlab(54.24, 20.61, -54.86)
CIE-LCHlch(54.24, 58.61, 290.59°)
OKLaboklab(61.31% 0.0023 -0.1564)
OKLCHoklch(61.31% 0.156 270.8)
XYZxyz(25.7061, 22.1969, 74.1494)
Luminance0.2220 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627BE1 #E1C862
analogous
#62BAE1 #627BE1 #8862E1
triadic
#627BE1 #E1627B #7BE162
tetradic
#627BE1 #E162BA #E1C862 #62E188
square
#627BE1 #E162BA #E1C862 #62E188
split-complementary
#627BE1 #E18862 #BAE162
monochromatic
#203BA8 #2F50D7 #627BE1 #95A6EB #C9D1F5

Accessibility & contrast

On white

3.86
#627BE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#627BE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #627BE1
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627BE1#FFFFFF#000000##000000
##627BE11.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C88E5
Deuteranopia (green-blind)
#3B7CDF
Tritanopia (blue-blind)
#0C92A3
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #627be1;
/* rgb */ color: rgb(98, 123, 225);
/* oklch */ color: oklch(61.3% 0.156 270.8);
Tailwind
colors: {
  custom: {
    50: '#98a0eb',
    500: '#627be1',
    950: '#000000',
  },
}
SCSS
$custom: #627be1;
$custom-light: #98a0eb;
$custom-dark: #000000;
JSON
{
  "hex": "#627be1",
  "rgb": {
    "r": 98,
    "g": 123,
    "b": 225
  },
  "hsl": {
    "h": 228.189,
    "s": 67.914,
    "l": 63.333
  },
  "oklch": {
    "l": 0.61305,
    "c": 0.15638,
    "h": 270.8
  },
  "luminance": 0.22199
}

Semantic roles & 50–950 ramp

primary
#627BE1
secondary
#E6DDB9
accent
#AB16D0
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #627BE1

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

Preview Lab → · Contrast checker → · Palette generator →

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