#627CEB#627CEB

#627CEB is a light, vivid blue. Relative luminance 0.230; OKLCH L 62.1% C 0.169 H 270.9°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#627CEB
RGBrgb(98, 124, 235)
HSLhsl(229, 77%, 65%)
HSVhsv(229, 58%, 92%)
CMYKcmyk(58.3%, 47.2%, 0%, 7.8%)
CIE-LABlab(55.08, 23.25, -59.10)
CIE-LCHlch(55.08, 63.51, 291.48°)
OKLaboklab(62.14% 0.0026 -0.1688)
OKLCHoklch(62.14% 0.169 270.9)
XYZxyz(27.2351, 23.0080, 81.5869)
Luminance0.2301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627CEB #EBD162
analogous
#62C1EB #627CEB #8C62EB
triadic
#627CEB #EB627C #7CEB62
tetradic
#627CEB #EB62C1 #EBD162 #62EB8C
square
#627CEB #EB62C1 #EBD162 #62EB8C
split-complementary
#627CEB #EB8C62 #C1EB62
monochromatic
#1837BB #2C4FE4 #627CEB #98A9F2 #CFD7F9

Accessibility & contrast

On white

3.75
#627CEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#627CEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #627CEB
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627CEB#FFFFFF#000000##000000
##627CEB1.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#468AEF
Deuteranopia (green-blind)
#2F7EE9
Tritanopia (blue-blind)
#0095A8
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #627ceb;
/* rgb */ color: rgb(98, 124, 235);
/* oklch */ color: oklch(62.1% 0.169 270.9);
Tailwind
colors: {
  custom: {
    50: '#99a1f2',
    500: '#627ceb',
    950: '#000000',
  },
}
SCSS
$custom: #627ceb;
$custom-light: #99a1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#627ceb",
  "rgb": {
    "r": 98,
    "g": 124,
    "b": 235
  },
  "hsl": {
    "h": 228.613,
    "s": 77.401,
    "l": 65.294
  },
  "oklch": {
    "l": 0.62138,
    "c": 0.16883,
    "h": 270.9
  },
  "luminance": 0.2301
}

Semantic roles & 50–950 ramp

primary
#627CEB
secondary
#EBE3BD
accent
#B30CDA
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #627CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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