#628BCA#628BCA

#628BCA is a light, moderate blue. Relative luminance 0.253; OKLCH L 63.4% C 0.106 H 258.7°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#628BCA
RGBrgb(98, 139, 202)
HSLhsl(216, 50%, 59%)
HSVhsv(216, 51%, 79%)
CMYKcmyk(51.5%, 31.2%, 0%, 20.8%)
CIE-LABlab(57.39, 3.71, -36.92)
CIE-LCHlch(57.39, 37.11, 275.74°)
OKLaboklab(63.36% -0.0207 -0.1038)
OKLCHoklch(63.36% 0.106 258.7)
XYZxyz(24.9267, 25.3244, 59.4402)
Luminance0.2533 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628BCA #CAA162
analogous
#62BFCA #628BCA #6D62CA
triadic
#628BCA #CA628B #8BCA62
tetradic
#628BCA #CA62BF #CAA162 #62CA6D
square
#628BCA #CA62BF #CAA162 #62CA6D
split-complementary
#628BCA #CA6D62 #BFCA62
monochromatic
#2D4F85 #3C6BB3 #628BCA #90ADD9 #BECFE9

Accessibility & contrast

On white

3.46
#628BCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#628BCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628BCA
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628BCA#FFFFFF#000000##000000
##628BCA1.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#728FCD
Deuteranopia (green-blind)
#6685C9
Tritanopia (blue-blind)
#2F99A1
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #628bca;
/* rgb */ color: rgb(98, 139, 202);
/* oklch */ color: oklch(63.4% 0.106 258.7);
Tailwind
colors: {
  custom: {
    50: '#95acda',
    500: '#628bca',
    950: '#000000',
  },
}
SCSS
$custom: #628bca;
$custom-light: #95acda;
$custom-dark: #000000;
JSON
{
  "hex": "#628bca",
  "rgb": {
    "r": 98,
    "g": 139,
    "b": 202
  },
  "hsl": {
    "h": 216.346,
    "s": 49.524,
    "l": 58.824
  },
  "oklch": {
    "l": 0.63355,
    "c": 0.10585,
    "h": 258.7
  },
  "luminance": 0.25326
}

Semantic roles & 50–950 ramp

primary
#628BCA
secondary
#D8C8AF
accent
#A34FD9
background
#F9FAFD
surface
#F2F4FA
border
#CCCED3
text
#0E1015
muted
#7E7F83

Preview Lab

Preview with #628BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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