#628BEA#628BEA

#628BEA is a light, vivid blue. Relative luminance 0.270; OKLCH L 65.1% C 0.149 H 265.0°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#628BEA
RGBrgb(98, 139, 234)
HSLhsl(222, 76%, 65%)
HSVhsv(222, 58%, 92%)
CMYKcmyk(58.1%, 40.6%, 0%, 8.2%)
CIE-LABlab(58.97, 13.89, -52.33)
CIE-LCHlch(58.97, 54.14, 284.87°)
OKLaboklab(65.1% -0.0131 -0.1487)
OKLCHoklch(65.1% 0.149 265)
XYZxyz(29.1158, 27.0000, 81.5031)
Luminance0.2700 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628BEA #EAC162
analogous
#62CFEA #628BEA #7D62EA
triadic
#628BEA #EA628B #8BEA62
tetradic
#628BEA #EA62CF #EAC162 #62EA7D
square
#628BEA #EA62CF #EAC162 #62EA7D
split-complementary
#628BEA #EA7D62 #CFEA62
monochromatic
#1949B9 #2C63E3 #628BEA #98B3F1 #CEDBF8

Accessibility & contrast

On white

3.28
#628BEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#628BEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628BEA
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628BEA#FFFFFF#000000##000000
##628BEA1.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6295EE
Deuteranopia (green-blind)
#5088E8
Tritanopia (blue-blind)
#00A0AF
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #628bea;
/* rgb */ color: rgb(98, 139, 234);
/* oklch */ color: oklch(65.1% 0.149 265.0);
Tailwind
colors: {
  custom: {
    50: '#99acf1',
    500: '#628bea',
    950: '#000000',
  },
}
SCSS
$custom: #628bea;
$custom-light: #99acf1;
$custom-dark: #000000;
JSON
{
  "hex": "#628bea",
  "rgb": {
    "r": 98,
    "g": 139,
    "b": 234
  },
  "hsl": {
    "h": 221.912,
    "s": 76.404,
    "l": 65.098
  },
  "oklch": {
    "l": 0.65102,
    "c": 0.14933,
    "h": 265
  },
  "luminance": 0.27002
}

Semantic roles & 50–950 ramp

primary
#628BEA
secondary
#EBDDBD
accent
#9B0DD9
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0F1017
muted
#7E7F85

Preview Lab

Preview with #628BEA

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

Preview Lab → · Contrast checker → · Palette generator →

#628BEA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva