#627FD4#627FD4

#627FD4 is a mid, vivid blue. Relative luminance 0.225; OKLCH L 61.3% C 0.133 H 268.1°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#627FD4
RGBrgb(98, 127, 212)
HSLhsl(225, 57%, 61%)
HSVhsv(225, 54%, 83%)
CMYKcmyk(53.8%, 40.1%, 0%, 16.9%)
CIE-LABlab(54.58, 14.00, -47.00)
CIE-LCHlch(54.58, 49.04, 286.59°)
OKLaboklab(61.34% -0.0044 -0.1332)
OKLCHoklch(61.34% 0.133 268.1)
XYZxyz(24.5061, 22.5271, 65.3314)
Luminance0.2253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627FD4 #D4B762
analogous
#62B8D4 #627FD4 #7E62D4
triadic
#627FD4 #D4627F #7FD462
tetradic
#627FD4 #D462B8 #D4B762 #62D47E
square
#627FD4 #D462B8 #D4B762 #62D47E
split-complementary
#627FD4 #D47E62 #B8D462
monochromatic
#284493 #355AC3 #627FD4 #92A6E1 #C2CDEE

Accessibility & contrast

On white

3.81
#627FD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#627FD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #627FD4
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627FD4#FFFFFF#000000##000000
##627FD41.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C88D7
Deuteranopia (green-blind)
#4F7ED2
Tritanopia (blue-blind)
#26919F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #627fd4;
/* rgb */ color: rgb(98, 127, 212);
/* oklch */ color: oklch(61.3% 0.133 268.1);
Tailwind
colors: {
  custom: {
    50: '#96a3e1',
    500: '#627fd4',
    950: '#000000',
  },
}
SCSS
$custom: #627fd4;
$custom-light: #96a3e1;
$custom-dark: #000000;
JSON
{
  "hex": "#627fd4",
  "rgb": {
    "r": 98,
    "g": 127,
    "b": 212
  },
  "hsl": {
    "h": 224.737,
    "s": 57,
    "l": 60.784
  },
  "oklch": {
    "l": 0.61338,
    "c": 0.13332,
    "h": 268.1
  },
  "luminance": 0.22529
}

Semantic roles & 50–950 ramp

primary
#627FD4
secondary
#DED4B3
accent
#9B21C5
background
#F9FAFD
surface
#F2F3FB
border
#CCCDD4
text
#0E0F15
muted
#7E7F83

Preview Lab

Preview with #627FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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