#626BF2#626BF2

#626BF2 is a mid, vivid blue. Relative luminance 0.195; OKLCH L 59.4% C 0.199 H 275.6°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#626BF2
RGBrgb(98, 107, 242)
HSLhsl(236, 85%, 67%)
HSVhsv(236, 60%, 95%)
CMYKcmyk(59.5%, 55.8%, 0%, 5.1%)
CIE-LABlab(51.29, 35.84, -69.12)
CIE-LCHlch(51.29, 77.86, 297.41°)
OKLaboklab(59.43% 0.0196 -0.1984)
OKLCHoklch(59.43% 0.199 275.6)
XYZxyz(26.3165, 19.5208, 86.3683)
Luminance0.1952 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626BF2 #F2E962
analogous
#62B3F2 #626BF2 #A162F2
triadic
#626BF2 #F2626B #6BF262
tetradic
#626BF2 #F262B3 #F2E962 #62F2A1
square
#626BF2 #F262B3 #F2E962 #62F2A1
split-complementary
#626BF2 #F2A162 #B3F262
monochromatic
#111CC9 #2936ED #626BF2 #9BA0F7 #D3D6FB

Accessibility & contrast

On white

4.28
#626BF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#626BF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #626BF2
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626BF2#FFFFFF#000000##000000
##626BF21.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F7
Deuteranopia (green-blind)
#0074EF
Tritanopia (blue-blind)
#008BA4
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #626bf2;
/* rgb */ color: rgb(98, 107, 242);
/* oklch */ color: oklch(59.4% 0.199 275.6);
Tailwind
colors: {
  custom: {
    50: '#9b95f7',
    500: '#626bf2',
    950: '#000000',
  },
}
SCSS
$custom: #626bf2;
$custom-light: #9b95f7;
$custom-dark: #000000;
JSON
{
  "hex": "#626bf2",
  "rgb": {
    "r": 98,
    "g": 107,
    "b": 242
  },
  "hsl": {
    "h": 236.25,
    "s": 84.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.59428,
    "c": 0.19941,
    "h": 275.6
  },
  "luminance": 0.19523
}

Semantic roles & 50–950 ramp

primary
#626BF2
secondary
#EFECC1
accent
#D304E1
background
#FAF9FF
surface
#F4F1FF
border
#CECBD7
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #626BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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