#627EDA#627EDA

#627EDA is a mid, vivid blue. Relative luminance 0.226; OKLCH L 61.5% C 0.143 H 269.1°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#627EDA
RGBrgb(98, 126, 218)
HSLhsl(226, 62%, 62%)
HSVhsv(226, 55%, 85%)
CMYKcmyk(55%, 42.2%, 0%, 14.5%)
CIE-LABlab(54.64, 16.53, -50.29)
CIE-LCHlch(54.64, 52.94, 288.19°)
OKLaboklab(61.48% -0.0021 -0.1429)
OKLCHoklch(61.48% 0.143 269.1)
XYZxyz(25.1486, 22.5785, 69.3489)
Luminance0.2258 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627EDA #DABE62
analogous
#62BADA #627EDA #8262DA
triadic
#627EDA #DA627E #7EDA62
tetradic
#627EDA #DA62BA #DABE62 #62DA82
square
#627EDA #DA62BA #DABE62 #62DA82
split-complementary
#627EDA #DA8262 #BADA62
monochromatic
#25419D #3155CE #627EDA #94A7E6 #C5CFF1

Accessibility & contrast

On white

3.81
#627EDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#627EDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #627EDA
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627EDA#FFFFFF#000000##000000
##627EDA1.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5788DE
Deuteranopia (green-blind)
#487ED8
Tritanopia (blue-blind)
#1D92A1
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #627eda;
/* rgb */ color: rgb(98, 126, 218);
/* oklch */ color: oklch(61.5% 0.143 269.1);
Tailwind
colors: {
  custom: {
    50: '#97a3e6',
    500: '#627eda',
    950: '#000000',
  },
}
SCSS
$custom: #627eda;
$custom-light: #97a3e6;
$custom-dark: #000000;
JSON
{
  "hex": "#627eda",
  "rgb": {
    "r": 98,
    "g": 126,
    "b": 218
  },
  "hsl": {
    "h": 226,
    "s": 61.856,
    "l": 61.961
  },
  "oklch": {
    "l": 0.61484,
    "c": 0.14293,
    "h": 269.1
  },
  "luminance": 0.2258
}

Semantic roles & 50–950 ramp

primary
#627EDA
secondary
#E2D8B6
accent
#A11CCA
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0F16
muted
#7E7E84

Preview Lab

Preview with #627EDA

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

Preview Lab → · Contrast checker → · Palette generator →

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