#627EEE#627EEE

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

Color values

HEX#627EEE
RGBrgb(98, 126, 238)
HSLhsl(228, 80%, 66%)
HSVhsv(228, 59%, 93%)
CMYKcmyk(58.8%, 47.1%, 0%, 6.7%)
CIE-LABlab(55.78, 23.02, -59.66)
CIE-LCHlch(55.78, 63.95, 291.10°)
OKLaboklab(62.72% 0.0009 -0.1704)
OKLCHoklch(62.72% 0.17 270.3)
XYZxyz(27.9253, 23.6892, 83.9732)
Luminance0.2369 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627EEE #EED262
analogous
#62C4EE #627EEE #8C62EE
triadic
#627EEE #EE627E #7EEE62
tetradic
#627EEE #EE62C4 #EED262 #62EE8C
square
#627EEE #EE62C4 #EED262 #62EE8C
split-complementary
#627EEE #EE8C62 #C4EE62
monochromatic
#1537C1 #2B51E8 #627EEE #99ABF4 #D0D9FA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##627EEE#FFFFFF#000000##000000
##627EEE1.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)
#478CF2
Deuteranopia (green-blind)
#3080EC
Tritanopia (blue-blind)
#0097AB
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #627eee;
/* rgb */ color: rgb(98, 126, 238);
/* oklch */ color: oklch(62.7% 0.170 270.3);
Tailwind
colors: {
  custom: {
    50: '#9aa3f4',
    500: '#627eee',
    950: '#000000',
  },
}
SCSS
$custom: #627eee;
$custom-light: #9aa3f4;
$custom-dark: #000000;
JSON
{
  "hex": "#627eee",
  "rgb": {
    "r": 98,
    "g": 126,
    "b": 238
  },
  "hsl": {
    "h": 228,
    "s": 80.46,
    "l": 65.882
  },
  "oklch": {
    "l": 0.62724,
    "c": 0.17042,
    "h": 270.3
  },
  "luminance": 0.23691
}

Semantic roles & 50–950 ramp

primary
#627EEE
secondary
#EDE4BF
accent
#B209DD
background
#FAF9FF
surface
#F3F2FE
border
#CDCCD6
text
#0F0F17
muted
#7F7E85

Preview Lab

Preview with #627EEE

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

Preview Lab → · Contrast checker → · Palette generator →

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