#627ECB#627ECB

#627ECB is a mid, vivid blue. Relative luminance 0.218; OKLCH L 60.6% C 0.122 H 267.6°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#627ECB
RGBrgb(98, 126, 203)
HSLhsl(224, 50%, 59%)
HSVhsv(224, 52%, 80%)
CMYKcmyk(51.7%, 37.9%, 0%, 20.4%)
CIE-LABlab(53.84, 11.75, -43.07)
CIE-LCHlch(53.84, 44.64, 285.27°)
OKLaboklab(60.62% -0.0051 -0.1218)
OKLCHoklch(60.62% 0.122 267.6)
XYZxyz(23.2738, 21.8286, 59.4753)
Luminance0.2183 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627ECB #CBAF62
analogous
#62B3CB #627ECB #7B62CB
triadic
#627ECB #CB627E #7ECB62
tetradic
#627ECB #CB62B3 #CBAF62 #62CB7B
square
#627ECB #CB62B3 #CBAF62 #62CB7B
split-complementary
#627ECB #CB7B62 #B3CB62
monochromatic
#2C4486 #3C5CB4 #627ECB #90A4DA #BECAE9

Accessibility & contrast

On white

3.91
#627ECB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#627ECB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #627ECB
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627ECB#FFFFFF#000000##000000
##627ECB1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6086CE
Deuteranopia (green-blind)
#547CC9
Tritanopia (blue-blind)
#318F9B
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #627ecb;
/* rgb */ color: rgb(98, 126, 203);
/* oklch */ color: oklch(60.6% 0.122 267.6);
Tailwind
colors: {
  custom: {
    50: '#95a3db',
    500: '#627ecb',
    950: '#000000',
  },
}
SCSS
$custom: #627ecb;
$custom-light: #95a3db;
$custom-dark: #000000;
JSON
{
  "hex": "#627ecb",
  "rgb": {
    "r": 98,
    "g": 126,
    "b": 203
  },
  "hsl": {
    "h": 224,
    "s": 50.239,
    "l": 59.02
  },
  "oklch": {
    "l": 0.60618,
    "c": 0.12189,
    "h": 267.6
  },
  "luminance": 0.2183
}

Semantic roles & 50–950 ramp

primary
#627ECB
secondary
#D9CEB0
accent
#B44EDA
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0F15
muted
#7E7E83

Preview Lab

Preview with #627ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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