#627BCB#627BCB

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

Color values

HEX#627BCB
RGBrgb(98, 123, 203)
HSLhsl(226, 50%, 59%)
HSVhsv(226, 52%, 80%)
CMYKcmyk(51.7%, 39.4%, 0%, 20.4%)
CIE-LABlab(53.03, 13.57, -44.36)
CIE-LCHlch(53.03, 46.39, 287.01°)
OKLaboklab(59.99% -0.0016 -0.1256)
OKLCHoklch(59.99% 0.126 269.3)
XYZxyz(22.8959, 21.0728, 59.3493)
Luminance0.2107 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627BCB #CBB262
analogous
#62B0CB #627BCB #7E62CB
triadic
#627BCB #CB627B #7BCB62
tetradic
#627BCB #CB62B0 #CBB262 #62CB7E
square
#627BCB #CB62B0 #CBB262 #62CB7E
split-complementary
#627BCB #CB7E62 #B0CB62
monochromatic
#2C4286 #3C58B4 #627BCB #90A2DA #BEC8E9

Accessibility & contrast

On white

4.03
#627BCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#627BCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #627BCB
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627BCB#FFFFFF#000000##000000
##627BCB1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B84CE
Deuteranopia (green-blind)
#4F7AC9
Tritanopia (blue-blind)
#328C99
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #627bcb;
/* rgb */ color: rgb(98, 123, 203);
/* oklch */ color: oklch(60.0% 0.126 269.3);
Tailwind
colors: {
  custom: {
    50: '#95a0db',
    500: '#627bcb',
    950: '#000000',
  },
}
SCSS
$custom: #627bcb;
$custom-light: #95a0db;
$custom-dark: #000000;
JSON
{
  "hex": "#627bcb",
  "rgb": {
    "r": 98,
    "g": 123,
    "b": 203
  },
  "hsl": {
    "h": 225.714,
    "s": 50.239,
    "l": 59.02
  },
  "oklch": {
    "l": 0.59989,
    "c": 0.12558,
    "h": 269.3
  },
  "luminance": 0.21074
}

Semantic roles & 50–950 ramp

primary
#627BCB
secondary
#D9CFB0
accent
#B84EDA
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #627BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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