#626BBB#626BBB

#626BBB is a mid, vivid blue. Relative luminance 0.167; OKLCH L 55.8% C 0.124 H 276.8°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#626BBB
RGBrgb(98, 107, 187)
HSLhsl(234, 40%, 56%)
HSVhsv(234, 48%, 73%)
CMYKcmyk(47.6%, 42.8%, 0%, 26.7%)
CIE-LABlab(47.88, 18.35, -43.35)
CIE-LCHlch(47.88, 47.07, 292.94°)
OKLaboklab(55.76% 0.0146 -0.1227)
OKLCHoklch(55.76% 0.124 276.8)
XYZxyz(19.2616, 16.6989, 49.2123)
Luminance0.1670 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626BBB #BBB262
analogous
#6297BB #626BBB #8562BB
triadic
#626BBB #BB626B #6BBB62
tetradic
#626BBB #BB6297 #BBB262 #62BB85
square
#626BBB #BB6297 #BBB262 #62BB85
split-complementary
#626BBB #BB8562 #97BB62
monochromatic
#313871 #444D9C #626BBB #8D93CD #B7BCE0

Accessibility & contrast

On white

4.84
#626BBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#626BBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #626BBB
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626BBB#FFFFFF#000000##FFFFFF
##626BBB1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C75BE
Deuteranopia (green-blind)
#446EB9
Tritanopia (blue-blind)
#417C8A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #626bbb;
/* rgb */ color: rgb(98, 107, 187);
/* oklch */ color: oklch(55.8% 0.124 276.8);
Tailwind
colors: {
  custom: {
    50: '#9495d0',
    500: '#626bbb',
    950: '#000000',
  },
}
SCSS
$custom: #626bbb;
$custom-light: #9495d0;
$custom-dark: #000000;
JSON
{
  "hex": "#626bbb",
  "rgb": {
    "r": 98,
    "g": 107,
    "b": 187
  },
  "hsl": {
    "h": 233.933,
    "s": 39.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.55762,
    "c": 0.12359,
    "h": 276.8
  },
  "luminance": 0.167
}

Semantic roles & 50–950 ramp

primary
#626BBB
secondary
#CFCBAA
accent
#C358CF
background
#F9F9FC
surface
#F2F1F9
border
#CCCBD2
text
#0D0D14
muted
#7E7E82

Preview Lab

Preview with #626BBB

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

Preview Lab → · Contrast checker → · Palette generator →

#626BBB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva