#627DD4#627DD4

#627DD4 is a mid, vivid blue. Relative luminance 0.220; OKLCH L 60.9% C 0.136 H 269.1°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#627DD4
RGBrgb(98, 125, 212)
HSLhsl(226, 57%, 61%)
HSVhsv(226, 54%, 83%)
CMYKcmyk(53.8%, 41%, 0%, 16.9%)
CIE-LABlab(54.04, 15.21, -47.85)
CIE-LCHlch(54.04, 50.21, 287.64°)
OKLaboklab(60.92% -0.0021 -0.1358)
OKLCHoklch(60.92% 0.136 269.1)
XYZxyz(24.2504, 22.0156, 65.2461)
Luminance0.2202 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627DD4 #D4B962
analogous
#62B6D4 #627DD4 #8062D4
triadic
#627DD4 #D4627D #7DD462
tetradic
#627DD4 #D462B6 #D4B962 #62D480
square
#627DD4 #D462B6 #D4B962 #62D480
split-complementary
#627DD4 #D48062 #B6D462
monochromatic
#284293 #3557C3 #627DD4 #92A5E1 #C2CDEE

Accessibility & contrast

On white

3.89
#627DD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#627DD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #627DD4
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627DD4#FFFFFF#000000##000000
##627DD41.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5987D7
Deuteranopia (green-blind)
#4B7DD2
Tritanopia (blue-blind)
#27909E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #627dd4;
/* rgb */ color: rgb(98, 125, 212);
/* oklch */ color: oklch(60.9% 0.136 269.1);
Tailwind
colors: {
  custom: {
    50: '#96a2e1',
    500: '#627dd4',
    950: '#000000',
  },
}
SCSS
$custom: #627dd4;
$custom-light: #96a2e1;
$custom-dark: #000000;
JSON
{
  "hex": "#627dd4",
  "rgb": {
    "r": 98,
    "g": 125,
    "b": 212
  },
  "hsl": {
    "h": 225.789,
    "s": 57,
    "l": 60.784
  },
  "oklch": {
    "l": 0.60924,
    "c": 0.13579,
    "h": 269.1
  },
  "luminance": 0.22017
}

Semantic roles & 50–950 ramp

primary
#627DD4
secondary
#DED4B3
accent
#9E21C5
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0F15
muted
#7E7E83

Preview Lab

Preview with #627DD4

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

Preview Lab → · Contrast checker → · Palette generator →

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