#627DD6#627DD6

#627DD6 is a mid, vivid blue. Relative luminance 0.221; OKLCH L 61.0% C 0.139 H 269.3°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#627DD6
RGBrgb(98, 125, 214)
HSLhsl(226, 59%, 61%)
HSVhsv(226, 54%, 84%)
CMYKcmyk(54.2%, 41.6%, 0%, 16.1%)
CIE-LABlab(54.15, 15.85, -48.81)
CIE-LCHlch(54.15, 51.32, 287.99°)
OKLaboklab(61.04% -0.0017 -0.1386)
OKLCHoklch(61.04% 0.139 269.3)
XYZxyz(24.5042, 22.1172, 66.5831)
Luminance0.2212 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627DD6 #D6BB62
analogous
#62B7D6 #627DD6 #8162D6
triadic
#627DD6 #D6627D #7DD662
tetradic
#627DD6 #D662B7 #D6BB62 #62D681
square
#627DD6 #D662B7 #D6BB62 #62D681
split-complementary
#627DD6 #D68162 #B7D662
monochromatic
#274196 #3456C7 #627DD6 #93A5E3 #C3CDEF

Accessibility & contrast

On white

3.87
#627DD6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#627DD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #627DD6
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627DD6#FFFFFF#000000##000000
##627DD61.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5887D9
Deuteranopia (green-blind)
#4A7DD4
Tritanopia (blue-blind)
#24909F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #627dd6;
/* rgb */ color: rgb(98, 125, 214);
/* oklch */ color: oklch(61.0% 0.139 269.3);
Tailwind
colors: {
  custom: {
    50: '#96a2e3',
    500: '#627dd6',
    950: '#000000',
  },
}
SCSS
$custom: #627dd6;
$custom-light: #96a2e3;
$custom-dark: #000000;
JSON
{
  "hex": "#627dd6",
  "rgb": {
    "r": 98,
    "g": 125,
    "b": 214
  },
  "hsl": {
    "h": 226.034,
    "s": 58.586,
    "l": 61.176
  },
  "oklch": {
    "l": 0.61042,
    "c": 0.13859,
    "h": 269.3
  },
  "luminance": 0.22119
}

Semantic roles & 50–950 ramp

primary
#627DD6
secondary
#E0D6B4
accent
#9F1FC6
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0F15
muted
#7E7E83

Preview Lab

Preview with #627DD6

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

Preview Lab → · Contrast checker → · Palette generator →

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