#627AEC#627AEC

#627AEC is a mid, vivid blue. Relative luminance 0.226; OKLCH L 61.8% C 0.173 H 271.6°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#627AEC
RGBrgb(98, 122, 236)
HSLhsl(230, 78%, 65%)
HSVhsv(230, 58%, 93%)
CMYKcmyk(58.5%, 48.3%, 0%, 7.5%)
CIE-LABlab(54.63, 24.79, -60.39)
CIE-LCHlch(54.63, 65.28, 292.32°)
OKLaboklab(61.81% 0.0047 -0.1726)
OKLCHoklch(61.81% 0.173 271.6)
XYZxyz(27.1318, 22.5697, 82.2672)
Luminance0.2257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627AEC #ECD462
analogous
#62BFEC #627AEC #8F62EC
triadic
#627AEC #EC627A #7AEC62
tetradic
#627AEC #EC62BF #ECD462 #62EC8F
square
#627AEC #EC62BF #ECD462 #62EC8F
split-complementary
#627AEC #EC8F62 #BFEC62
monochromatic
#1734BD #2B4CE5 #627AEC #99A8F3 #CFD6F9

Accessibility & contrast

On white

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

On black

5.51
#627AEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #627AEC
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627AEC#FFFFFF#000000##000000
##627AEC1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4089F0
Deuteranopia (green-blind)
#287DEA
Tritanopia (blue-blind)
#0094A8
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #627aec;
/* rgb */ color: rgb(98, 122, 236);
/* oklch */ color: oklch(61.8% 0.173 271.6);
Tailwind
colors: {
  custom: {
    50: '#9aa0f3',
    500: '#627aec',
    950: '#000000',
  },
}
SCSS
$custom: #627aec;
$custom-light: #9aa0f3;
$custom-dark: #000000;
JSON
{
  "hex": "#627aec",
  "rgb": {
    "r": 98,
    "g": 122,
    "b": 236
  },
  "hsl": {
    "h": 229.565,
    "s": 78.409,
    "l": 65.49
  },
  "oklch": {
    "l": 0.61812,
    "c": 0.17267,
    "h": 271.6
  },
  "luminance": 0.22572
}

Semantic roles & 50–950 ramp

primary
#627AEC
secondary
#ECE4BE
accent
#B70BDB
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #627AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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