#626795#626795

#626795 is a mid, moderate blue. Relative luminance 0.145; OKLCH L 52.8% C 0.072 H 278.8°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#626795
RGBrgb(98, 103, 149)
HSLhsl(234, 21%, 48%)
HSVhsv(234, 34%, 58%)
CMYKcmyk(34.2%, 30.9%, 0%, 41.6%)
CIE-LABlab(44.89, 9.58, -25.75)
CIE-LCHlch(44.89, 27.47, 290.40°)
OKLaboklab(52.85% 0.0111 -0.0716)
OKLCHoklch(52.85% 0.072 278.8)
XYZxyz(15.3106, 14.4666, 30.4136)
Luminance0.1447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626795 #959062
analogous
#628095 #626795 #766295
triadic
#626795 #956267 #679562
tetradic
#626795 #956280 #959062 #629576
square
#626795 #956280 #959062 #629576
split-complementary
#626795 #957662 #809562
monochromatic
#31344B #4A4D70 #626795 #8589AF #AAADC7

Accessibility & contrast

On white

5.39
#626795 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#626795 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #626795
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626795#FFFFFF#000000##FFFFFF
##6267951.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#596C97
Deuteranopia (green-blind)
#566894
Tritanopia (blue-blind)
#547077
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #626795;
/* rgb */ color: rgb(98, 103, 149);
/* oklch */ color: oklch(52.8% 0.072 278.8);
Tailwind
colors: {
  custom: {
    50: '#9092b4',
    500: '#626795',
    950: '#000000',
  },
}
SCSS
$custom: #626795;
$custom-light: #9092b4;
$custom-dark: #000000;
JSON
{
  "hex": "#626795",
  "rgb": {
    "r": 98,
    "g": 103,
    "b": 149
  },
  "hsl": {
    "h": 234.118,
    "s": 20.648,
    "l": 48.431
  },
  "oklch": {
    "l": 0.5285,
    "c": 0.07248,
    "h": 278.8
  },
  "luminance": 0.14467
}

Semantic roles & 50–950 ramp

primary
#626795
secondary
#B6B39D
accent
#B56BBD
background
#F8F8FB
surface
#F0F0F6
border
#CBCBD0
text
#0D0D11
muted
#7D7D80

Preview Lab

Preview with #626795

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

Preview Lab → · Contrast checker → · Palette generator →

#626795 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva