#628EC3#628EC3

#628EC3 is a light, moderate cyan. Relative luminance 0.259; OKLCH L 63.7% C 0.094 H 253.7°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#628EC3
RGBrgb(98, 142, 195)
HSLhsl(213, 45%, 57%)
HSVhsv(213, 50%, 76%)
CMYKcmyk(49.7%, 27.2%, 0%, 23.5%)
CIE-LABlab(57.92, -0.18, -32.13)
CIE-LCHlch(57.92, 32.14, 269.68°)
OKLaboklab(63.67% -0.0263 -0.09)
OKLCHoklch(63.67% 0.094 253.7)
XYZxyz(24.5570, 25.8810, 55.3207)
Luminance0.2588 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628EC3 #C39762
analogous
#62BEC3 #628EC3 #6762C3
triadic
#628EC3 #C3628E #8EC362
tetradic
#628EC3 #C362BE #C39762 #62C367
square
#628EC3 #C362BE #C39762 #62C367
split-complementary
#628EC3 #C36762 #BEC362
monochromatic
#2F527B #406FA8 #628EC3 #8EAED4 #BBCEE5

Accessibility & contrast

On white

3.40
#628EC3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#628EC3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628EC3
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628EC3#FFFFFF#000000##000000
##628EC31.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7990C5
Deuteranopia (green-blind)
#6D87C2
Tritanopia (blue-blind)
#359AA0
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #628ec3;
/* rgb */ color: rgb(98, 142, 195);
/* oklch */ color: oklch(63.7% 0.094 253.7);
Tailwind
colors: {
  custom: {
    50: '#94aed5',
    500: '#628ec3',
    950: '#000000',
  },
}
SCSS
$custom: #628ec3;
$custom-light: #94aed5;
$custom-dark: #000000;
JSON
{
  "hex": "#628ec3",
  "rgb": {
    "r": 98,
    "g": 142,
    "b": 195
  },
  "hsl": {
    "h": 212.784,
    "s": 44.7,
    "l": 57.451
  },
  "oklch": {
    "l": 0.63671,
    "c": 0.09373,
    "h": 253.7
  },
  "luminance": 0.25883
}

Semantic roles & 50–950 ramp

primary
#628EC3
secondary
#D4C2AD
accent
#9A53D4
background
#F9FAFD
surface
#F2F4FA
border
#CCCED3
text
#0E1014
muted
#7E7F83

Preview Lab

Preview with #628EC3

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

Preview Lab → · Contrast checker → · Palette generator →

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