#627BE2#627BE2

#627BE2 is a mid, vivid blue. Relative luminance 0.223; OKLCH L 61.4% C 0.158 H 270.9°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#627BE2
RGBrgb(98, 123, 226)
HSLhsl(228, 69%, 64%)
HSVhsv(228, 57%, 89%)
CMYKcmyk(56.6%, 45.6%, 0%, 11.4%)
CIE-LABlab(54.29, 20.93, -55.33)
CIE-LCHlch(54.29, 59.16, 290.72°)
OKLaboklab(61.37% 0.0024 -0.1577)
OKLCHoklch(61.37% 0.158 270.9)
XYZxyz(25.8429, 22.2516, 74.8699)
Luminance0.2225 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627BE2 #E2C962
analogous
#62BBE2 #627BE2 #8962E2
triadic
#627BE2 #E2627B #7BE262
tetradic
#627BE2 #E262BB #E2C962 #62E289
square
#627BE2 #E262BB #E2C962 #62E289
split-complementary
#627BE2 #E28962 #BBE262
monochromatic
#1F3BAA #2E50D8 #627BE2 #96A6EC #C9D2F5

Accessibility & contrast

On white

3.85
#627BE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#627BE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #627BE2
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627BE2#FFFFFF#000000##000000
##627BE21.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B88E6
Deuteranopia (green-blind)
#3A7DE0
Tritanopia (blue-blind)
#0792A3
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #627be2;
/* rgb */ color: rgb(98, 123, 226);
/* oklch */ color: oklch(61.4% 0.158 270.9);
Tailwind
colors: {
  custom: {
    50: '#98a0ec',
    500: '#627be2',
    950: '#000000',
  },
}
SCSS
$custom: #627be2;
$custom-light: #98a0ec;
$custom-dark: #000000;
JSON
{
  "hex": "#627be2",
  "rgb": {
    "r": 98,
    "g": 123,
    "b": 226
  },
  "hsl": {
    "h": 228.281,
    "s": 68.817,
    "l": 63.529
  },
  "oklch": {
    "l": 0.61368,
    "c": 0.15776,
    "h": 270.9
  },
  "luminance": 0.22254
}

Semantic roles & 50–950 ramp

primary
#627BE2
secondary
#E7DEB9
accent
#AC15D1
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E16
muted
#7E7E84

Preview Lab

Preview with #627BE2

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

Preview Lab → · Contrast checker → · Palette generator →

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