#6381F2#6381F2
#6381F2 is a light, vivid blue. Relative luminance 0.248; OKLCH L 63.6% C 0.172 H 269.8°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).
Color values
| HEX | #6381F2 |
|---|---|
| RGB | rgb(99, 129, 242) |
| HSL | hsl(227, 85%, 67%) |
| HSV | hsv(227, 59%, 95%) |
| CMYK | cmyk(59.1%, 46.7%, 0%, 5.1%) |
| CIE-LAB | lab(56.84, 22.70, -60.17) |
| CIE-LCH | lch(56.84, 64.31, 290.67°) |
| OKLab | oklab(63.63% -0.0006 -0.1718) |
| OKLCH | oklch(63.63% 0.172 269.8) |
| XYZ | xyz(29.0175, 24.7616, 87.2375) |
| Luminance | 0.2476 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 2.57
Cornflower
#6A79F7
ΔE00 3.33
Lightish Blue
#3D7AFD
ΔE00 4.26
Dodger Blue
#3E82FC
ΔE00 4.57
Clear Blue
#247AFD
ΔE00 5.84
Faded Blue
#658CBB
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6381F2 #F2D463
analogous
#63C8F2 #6381F2 #8D63F2
triadic
#6381F2 #F26381 #81F263
tetradic
#6381F2 #F263C8 #F2D463 #63F28D
square
#6381F2 #F263C8 #F2D463 #63F28D
split-complementary
#6381F2 #F28D63 #C8F263
monochromatic
#1138CA #2B53ED #6381F2 #9BAFF7 #D4DCFB
Accessibility & contrast
On white
3.53
#6381F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.95
#6381F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #6381F2
5.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6381F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##6381F2 | 1.00 | 3.53 | 5.95 | 5.95 |
| #FFFFFF | 3.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A8FF6
Deuteranopia (green-blind)
#3282F0
Tritanopia (blue-blind)
#009BAE
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #6381f2; /* rgb */ color: rgb(99, 129, 242); /* oklch */ color: oklch(63.6% 0.172 269.8);
Tailwind
colors: {
custom: {
50: '#9ba5f7',
500: '#6381f2',
950: '#000000',
},
}SCSS
$custom: #6381f2; $custom-light: #9ba5f7; $custom-dark: #000000;
JSON
{
"hex": "#6381f2",
"rgb": {
"r": 99,
"g": 129,
"b": 242
},
"hsl": {
"h": 227.413,
"s": 84.615,
"l": 66.863
},
"oklch": {
"l": 0.63627,
"c": 0.17185,
"h": 269.8
},
"luminance": 0.24764
}Semantic roles & 50–950 ramp
primary
#6381F2
secondary
#EFE6C2
accent
#B304E1
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F0F17
muted
#7F7F85