#627DF2#627DF2

#627DF2 is a light, vivid blue. Relative luminance 0.237; OKLCH L 62.8% C 0.177 H 270.8°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#627DF2
RGBrgb(98, 125, 242)
HSLhsl(229, 85%, 67%)
HSVhsv(229, 60%, 95%)
CMYKcmyk(59.5%, 48.3%, 0%, 5.1%)
CIE-LABlab(55.76, 24.94, -61.91)
CIE-LCHlch(55.76, 66.74, 291.94°)
OKLaboklab(62.79% 0.0024 -0.1771)
OKLCHoklch(62.79% 0.177 270.8)
XYZxyz(28.3923, 23.6724, 87.0602)
Luminance0.2367 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627DF2 #F2D762
analogous
#62C5F2 #627DF2 #8F62F2
triadic
#627DF2 #F2627D #7DF262
tetradic
#627DF2 #F262C5 #F2D762 #62F28F
square
#627DF2 #F262C5 #F2D762 #62F28F
split-complementary
#627DF2 #F28F62 #C5F262
monochromatic
#1133C9 #294EED #627DF2 #9BACF7 #D3DBFB

Accessibility & contrast

On white

3.66
#627DF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#627DF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #627DF2
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627DF2#FFFFFF#000000##000000
##627DF21.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#418CF6
Deuteranopia (green-blind)
#2680F0
Tritanopia (blue-blind)
#0098AC
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #627df2;
/* rgb */ color: rgb(98, 125, 242);
/* oklch */ color: oklch(62.8% 0.177 270.8);
Tailwind
colors: {
  custom: {
    50: '#9aa2f7',
    500: '#627df2',
    950: '#000000',
  },
}
SCSS
$custom: #627df2;
$custom-light: #9aa2f7;
$custom-dark: #000000;
JSON
{
  "hex": "#627df2",
  "rgb": {
    "r": 98,
    "g": 125,
    "b": 242
  },
  "hsl": {
    "h": 228.75,
    "s": 84.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.62788,
    "c": 0.17707,
    "h": 270.8
  },
  "luminance": 0.23675
}

Semantic roles & 50–950 ramp

primary
#627DF2
secondary
#EFE6C1
accent
#B804E1
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0F17
muted
#7F7E85

Preview Lab

Preview with #627DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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