#627BCA#627BCA

#627BCA is a mid, vivid blue. Relative luminance 0.210; OKLCH L 59.9% C 0.124 H 269.2°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#627BCA
RGBrgb(98, 123, 202)
HSLhsl(226, 50%, 59%)
HSVhsv(226, 51%, 79%)
CMYKcmyk(51.5%, 39.1%, 0%, 20.8%)
CIE-LABlab(52.98, 13.25, -43.87)
CIE-LCHlch(52.98, 45.83, 286.81°)
OKLaboklab(59.93% -0.0018 -0.1241)
OKLCHoklch(59.93% 0.124 269.2)
XYZxyz(22.7772, 21.0253, 58.7237)
Luminance0.2103 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627BCA #CAB162
analogous
#62AFCA #627BCA #7D62CA
triadic
#627BCA #CA627B #7BCA62
tetradic
#627BCA #CA62AF #CAB162 #62CA7D
square
#627BCA #CA62AF #CAB162 #62CA7D
split-complementary
#627BCA #CA7D62 #AFCA62
monochromatic
#2D4285 #3C59B3 #627BCA #90A1D9 #BEC8E9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##627BCA#FFFFFF#000000##000000
##627BCA1.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)
#5C83CD
Deuteranopia (green-blind)
#507AC8
Tritanopia (blue-blind)
#338C99
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #627bca;
/* rgb */ color: rgb(98, 123, 202);
/* oklch */ color: oklch(59.9% 0.124 269.2);
Tailwind
colors: {
  custom: {
    50: '#95a0da',
    500: '#627bca',
    950: '#000000',
  },
}
SCSS
$custom: #627bca;
$custom-light: #95a0da;
$custom-dark: #000000;
JSON
{
  "hex": "#627bca",
  "rgb": {
    "r": 98,
    "g": 123,
    "b": 202
  },
  "hsl": {
    "h": 225.577,
    "s": 49.524,
    "l": 58.824
  },
  "oklch": {
    "l": 0.59932,
    "c": 0.12416,
    "h": 269.2
  },
  "luminance": 0.21027
}

Semantic roles & 50–950 ramp

primary
#627BCA
secondary
#D8CFAF
accent
#B84FD9
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #627BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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