#628EFA#628EFA

#628EFA is a light, vivid blue. Relative luminance 0.288; OKLCH L 66.7% C 0.167 H 265.4°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#628EFA
RGBrgb(98, 142, 250)
HSLhsl(223, 94%, 68%)
HSVhsv(223, 61%, 98%)
CMYKcmyk(60.8%, 43.2%, 0%, 2%)
CIE-LABlab(60.64, 17.34, -58.50)
CIE-LCHlch(60.64, 61.02, 286.51°)
OKLaboklab(66.67% -0.0133 -0.1668)
OKLCHoklch(66.67% 0.167 265.4)
XYZxyz(31.9594, 28.8420, 94.3068)
Luminance0.2884 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628EFA #FACE62
analogous
#62DAFA #628EFA #8262FA
triadic
#628EFA #FA628E #8EFA62
tetradic
#628EFA #FA62DA #FACE62 #62FA82
square
#628EFA #FA62DA #FACE62 #62FA82
split-complementary
#628EFA #FA8262 #DAFA62
monochromatic
#0744DB #2763F8 #628EFA #9DB9FC #D9E3FE

Accessibility & contrast

On white

3.10
#628EFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#628EFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628EFA
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628EFA#FFFFFF#000000##000000
##628EFA1.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C9AFE
Deuteranopia (green-blind)
#458CF8
Tritanopia (blue-blind)
#00A6B8
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #628efa;
/* rgb */ color: rgb(98, 142, 250);
/* oklch */ color: oklch(66.7% 0.167 265.4);
Tailwind
colors: {
  custom: {
    50: '#9baefc',
    500: '#628efa',
    950: '#000000',
  },
}
SCSS
$custom: #628efa;
$custom-light: #9baefc;
$custom-dark: #000000;
JSON
{
  "hex": "#628efa",
  "rgb": {
    "r": 98,
    "g": 142,
    "b": 250
  },
  "hsl": {
    "h": 222.632,
    "s": 93.827,
    "l": 68.235
  },
  "oklch": {
    "l": 0.66668,
    "c": 0.16736,
    "h": 265.4
  },
  "luminance": 0.28845
}

Semantic roles & 50–950 ramp

primary
#628EFA
secondary
#F3E6C5
accent
#A300E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F1018
muted
#7F7F86

Preview Lab

Preview with #628EFA

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

Preview Lab → · Contrast checker → · Palette generator →

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