#625AA8#625AA8
#625AA8 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.2% C 0.121 H 286.0°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).
Color values
| HEX | #625AA8 |
|---|---|
| RGB | rgb(98, 90, 168) |
| HSL | hsl(246, 31%, 51%) |
| HSV | hsv(246, 46%, 66%) |
| CMYK | cmyk(41.7%, 46.4%, 0%, 34.1%) |
| CIE-LAB | lab(42.36, 23.12, -41.01) |
| CIE-LCH | lch(42.36, 47.08, 299.42°) |
| OKLab | oklab(51.23% 0.0333 -0.1159) |
| OKLCH | oklch(51.23% 0.121 286) |
| XYZ | xyz(15.7590, 12.7356, 38.6661) |
| Luminance | 0.1274 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.83
Slate Blue
#6A5ACD
ΔE00 6.14
Twilight
#4E518B
ΔE00 6.19
Royal Purple
#7851A9
ΔE00 6.34
Light Indigo
#6D5ACF
ΔE00 6.54
Dark Periwinkle
#665FD1
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#625AA8 #A0A85A
analogous
#5A79A8 #625AA8 #895AA8
triadic
#625AA8 #A8625A #5AA862
tetradic
#625AA8 #A85A79 #A0A85A #5AA889
square
#625AA8 #A85A79 #A0A85A #5AA889
split-complementary
#625AA8 #A8895A #79A85A
monochromatic
#332F59 #4A4481 #625AA8 #8882BD #AEAAD2
Accessibility & contrast
On white
5.92
#625AA8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.55
#625AA8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #625AA8
5.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##625AA8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##625AA8 | 1.00 | 5.92 | 3.55 | 5.92 |
| #FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D66AB
Deuteranopia (green-blind)
#3B62A6
Tritanopia (blue-blind)
#4E6A79
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #625aa8; /* rgb */ color: rgb(98, 90, 168); /* oklch */ color: oklch(51.2% 0.121 286.0);
Tailwind
colors: {
custom: {
50: '#9288c2',
500: '#625aa8',
950: '#000000',
},
}SCSS
$custom: #625aa8; $custom-light: #9288c2; $custom-dark: #000000;
JSON
{
"hex": "#625aa8",
"rgb": {
"r": 98,
"g": 90,
"b": 168
},
"hsl": {
"h": 246.154,
"s": 30.952,
"l": 50.588
},
"oklch": {
"l": 0.51228,
"c": 0.12062,
"h": 286
},
"luminance": 0.12736
}Semantic roles & 50–950 ramp
primary
#625AA8
secondary
#BDC09E
accent
#C761BD
background
#F9F8FC
surface
#F1F0F8
border
#CBCBD1
text
#0D0B12
muted
#7E7C81