#627BE4#627BE4

#627BE4 is a mid, vivid blue. Relative luminance 0.224; OKLCH L 61.5% C 0.161 H 271.0°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#627BE4
RGBrgb(98, 123, 228)
HSLhsl(228, 71%, 64%)
HSVhsv(228, 57%, 89%)
CMYKcmyk(57%, 46.1%, 0%, 10.6%)
CIE-LABlab(54.41, 21.58, -56.27)
CIE-LCHlch(54.41, 60.26, 290.98°)
OKLaboklab(61.49% 0.0027 -0.1605)
OKLCHoklch(61.49% 0.161 271)
XYZxyz(26.1189, 22.3620, 76.3237)
Luminance0.2236 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627BE4 #E4CB62
analogous
#62BCE4 #627BE4 #8A62E4
triadic
#627BE4 #E4627B #7BE462
tetradic
#627BE4 #E462BC #E4CB62 #62E48A
square
#627BE4 #E462BC #E4CB62 #62E48A
split-complementary
#627BE4 #E48A62 #BCE462
monochromatic
#1E3AAE #2E4FDB #627BE4 #96A7ED #CAD3F6

Accessibility & contrast

On white

3.84
#627BE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#627BE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #627BE4
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627BE4#FFFFFF#000000##000000
##627BE41.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A88E8
Deuteranopia (green-blind)
#377DE2
Tritanopia (blue-blind)
#0092A4
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #627be4;
/* rgb */ color: rgb(98, 123, 228);
/* oklch */ color: oklch(61.5% 0.161 271.0);
Tailwind
colors: {
  custom: {
    50: '#98a0ed',
    500: '#627be4',
    950: '#000000',
  },
}
SCSS
$custom: #627be4;
$custom-light: #98a0ed;
$custom-dark: #000000;
JSON
{
  "hex": "#627be4",
  "rgb": {
    "r": 98,
    "g": 123,
    "b": 228
  },
  "hsl": {
    "h": 228.462,
    "s": 70.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.61494,
    "c": 0.1605,
    "h": 271
  },
  "luminance": 0.22364
}

Semantic roles & 50–950 ramp

primary
#627BE4
secondary
#E8DFBA
accent
#AE13D3
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E16
muted
#7E7E84

Preview Lab

Preview with #627BE4

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

Preview Lab → · Contrast checker → · Palette generator →

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