#627BEA#627BEA

#627BEA is a mid, vivid blue. Relative luminance 0.227; OKLCH L 61.9% C 0.169 H 271.2°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#627BEA
RGBrgb(98, 123, 234)
HSLhsl(229, 76%, 65%)
HSVhsv(229, 58%, 92%)
CMYKcmyk(58.1%, 47.4%, 0%, 8.2%)
CIE-LABlab(54.76, 23.53, -59.05)
CIE-LCHlch(54.76, 63.57, 291.73°)
OKLaboklab(61.88% 0.0035 -0.1687)
OKLCHoklch(61.88% 0.169 271.2)
XYZxyz(26.9663, 22.7010, 80.7866)
Luminance0.2270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627BEA #EAD162
analogous
#62BFEA #627BEA #8D62EA
triadic
#627BEA #EA627B #7BEA62
tetradic
#627BEA #EA62BF #EAD162 #62EA8D
square
#627BEA #EA62BF #EAD162 #62EA8D
split-complementary
#627BEA #EA8D62 #BFEA62
monochromatic
#1936B9 #2C4EE3 #627BEA #98A8F1 #CED6F8

Accessibility & contrast

On white

3.79
#627BEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#627BEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #627BEA
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627BEA#FFFFFF#000000##000000
##627BEA1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4489EE
Deuteranopia (green-blind)
#2E7DE8
Tritanopia (blue-blind)
#0094A7
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #627bea;
/* rgb */ color: rgb(98, 123, 234);
/* oklch */ color: oklch(61.9% 0.169 271.2);
Tailwind
colors: {
  custom: {
    50: '#99a0f1',
    500: '#627bea',
    950: '#000000',
  },
}
SCSS
$custom: #627bea;
$custom-light: #99a0f1;
$custom-dark: #000000;
JSON
{
  "hex": "#627bea",
  "rgb": {
    "r": 98,
    "g": 123,
    "b": 234
  },
  "hsl": {
    "h": 228.971,
    "s": 76.404,
    "l": 65.098
  },
  "oklch": {
    "l": 0.61877,
    "c": 0.16872,
    "h": 271.2
  },
  "luminance": 0.22703
}

Semantic roles & 50–950 ramp

primary
#627BEA
secondary
#EBE2BD
accent
#B30DD9
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #627BEA

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

Preview Lab → · Contrast checker → · Palette generator →

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