#627FCB#627FCB

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

Color values

HEX#627FCB
RGBrgb(98, 127, 203)
HSLhsl(223, 50%, 59%)
HSVhsv(223, 52%, 80%)
CMYKcmyk(51.7%, 37.4%, 0%, 20.4%)
CIE-LABlab(54.12, 11.15, -42.64)
CIE-LCHlch(54.12, 44.07, 284.66°)
OKLaboklab(60.83% -0.0063 -0.1205)
OKLCHoklch(60.83% 0.121 267)
XYZxyz(23.4023, 22.0856, 59.5181)
Luminance0.2209 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627FCB #CBAE62
analogous
#62B3CB #627FCB #7A62CB
triadic
#627FCB #CB627F #7FCB62
tetradic
#627FCB #CB62B3 #CBAE62 #62CB7A
square
#627FCB #CB62B3 #CBAE62 #62CB7A
split-complementary
#627FCB #CB7A62 #B3CB62
monochromatic
#2C4586 #3C5DB4 #627FCB #90A4DA #BECAE9

Accessibility & contrast

On white

3.88
#627FCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##627FCB#FFFFFF#000000##000000
##627FCB1.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6186CE
Deuteranopia (green-blind)
#557DC9
Tritanopia (blue-blind)
#318F9B
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #627fcb;
/* rgb */ color: rgb(98, 127, 203);
/* oklch */ color: oklch(60.8% 0.121 267.0);
Tailwind
colors: {
  custom: {
    50: '#95a3db',
    500: '#627fcb',
    950: '#000000',
  },
}
SCSS
$custom: #627fcb;
$custom-light: #95a3db;
$custom-dark: #000000;
JSON
{
  "hex": "#627fcb",
  "rgb": {
    "r": 98,
    "g": 127,
    "b": 203
  },
  "hsl": {
    "h": 223.429,
    "s": 50.239,
    "l": 59.02
  },
  "oklch": {
    "l": 0.60829,
    "c": 0.12067,
    "h": 267
  },
  "luminance": 0.22087
}

Semantic roles & 50–950 ramp

primary
#627FCB
secondary
#D9CEB0
accent
#B34EDA
background
#F9FAFD
surface
#F2F3FB
border
#CCCDD4
text
#0E0F15
muted
#7E7F83

Preview Lab

Preview with #627FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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