#627BCC#627BCC

#627BCC is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.0% C 0.127 H 269.4°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#627BCC
RGBrgb(98, 123, 204)
HSLhsl(226, 51%, 59%)
HSVhsv(226, 52%, 80%)
CMYKcmyk(52%, 39.7%, 0%, 20%)
CIE-LABlab(53.08, 13.88, -44.84)
CIE-LCHlch(53.08, 46.94, 287.20°)
OKLaboklab(60.05% -0.0014 -0.127)
OKLCHoklch(60.05% 0.127 269.4)
XYZxyz(23.0155, 21.1207, 59.9789)
Luminance0.2112 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627BCC #CCB362
analogous
#62B0CC #627BCC #7E62CC
triadic
#627BCC #CC627B #7BCC62
tetradic
#627BCC #CC62B0 #CCB362 #62CC7E
square
#627BCC #CC62B0 #CCB362 #62CC7E
split-complementary
#627BCC #CC7E62 #B0CC62
monochromatic
#2C4288 #3B58B6 #627BCC #90A2DB #BEC9EA

Accessibility & contrast

On white

4.02
#627BCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#627BCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #627BCC
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627BCC#FFFFFF#000000##000000
##627BCC1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A84CF
Deuteranopia (green-blind)
#4F7ACA
Tritanopia (blue-blind)
#318C9A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #627bcc;
/* rgb */ color: rgb(98, 123, 204);
/* oklch */ color: oklch(60.0% 0.127 269.4);
Tailwind
colors: {
  custom: {
    50: '#95a0dc',
    500: '#627bcc',
    950: '#000000',
  },
}
SCSS
$custom: #627bcc;
$custom-light: #95a0dc;
$custom-dark: #000000;
JSON
{
  "hex": "#627bcc",
  "rgb": {
    "r": 98,
    "g": 123,
    "b": 204
  },
  "hsl": {
    "h": 225.849,
    "s": 50.962,
    "l": 59.216
  },
  "oklch": {
    "l": 0.60046,
    "c": 0.127,
    "h": 269.4
  },
  "luminance": 0.21122
}

Semantic roles & 50–950 ramp

primary
#627BCC
secondary
#DAD0B0
accent
#B94DDA
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #627BCC

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

Preview Lab → · Contrast checker → · Palette generator →

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