#627EF2#627EF2

#627EF2 is a light, vivid blue. Relative luminance 0.239; OKLCH L 63.0% C 0.176 H 270.4°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#627EF2
RGBrgb(98, 126, 242)
HSLhsl(228, 85%, 67%)
HSVhsv(228, 60%, 95%)
CMYKcmyk(59.5%, 47.9%, 0%, 5.1%)
CIE-LABlab(56.01, 24.33, -61.50)
CIE-LCHlch(56.01, 66.14, 291.58°)
OKLaboklab(62.98% 0.0014 -0.1758)
OKLCHoklch(62.98% 0.176 270.4)
XYZxyz(28.5195, 23.9269, 87.1026)
Luminance0.2393 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627EF2 #F2D662
analogous
#62C6F2 #627EF2 #8E62F2
triadic
#627EF2 #F2627E #7EF262
tetradic
#627EF2 #F262C6 #F2D662 #62F28E
square
#627EF2 #F262C6 #F2D662 #62F28E
split-complementary
#627EF2 #F28E62 #C6F262
monochromatic
#1134C9 #2950ED #627EF2 #9BACF7 #D3DBFB

Accessibility & contrast

On white

3.63
#627EF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#627EF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #627EF2
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627EF2#FFFFFF#000000##000000
##627EF21.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#438DF6
Deuteranopia (green-blind)
#2980F0
Tritanopia (blue-blind)
#0098AC
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #627ef2;
/* rgb */ color: rgb(98, 126, 242);
/* oklch */ color: oklch(63.0% 0.176 270.4);
Tailwind
colors: {
  custom: {
    50: '#9aa3f7',
    500: '#627ef2',
    950: '#000000',
  },
}
SCSS
$custom: #627ef2;
$custom-light: #9aa3f7;
$custom-dark: #000000;
JSON
{
  "hex": "#627ef2",
  "rgb": {
    "r": 98,
    "g": 126,
    "b": 242
  },
  "hsl": {
    "h": 228.333,
    "s": 84.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.62983,
    "c": 0.17584,
    "h": 270.4
  },
  "luminance": 0.23929
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #627EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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