#6187F2#6187F2
#6187F2 is a light, vivid blue. Relative luminance 0.263; OKLCH L 64.7% C 0.165 H 267.0°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).
Color values
| HEX | #6187F2 |
|---|---|
| RGB | rgb(97, 135, 242) |
| HSL | hsl(224, 85%, 66%) |
| HSV | hsv(224, 60%, 95%) |
| CMYK | cmyk(59.9%, 44.2%, 0%, 5.1%) |
| CIE-LAB | lab(58.30, 18.71, -57.84) |
| CIE-LCH | lch(58.30, 60.79, 287.93°) |
| OKLab | oklab(64.71% -0.0085 -0.165) |
| OKLCH | oklch(64.71% 0.165 267) |
| XYZ | xyz(29.6153, 26.2776, 87.4986) |
| Luminance | 0.2628 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 0.95
Dodger Blue
#3E82FC
ΔE00 3.75
Cornflowerblue
#6495ED
ΔE00 4.66
Lightish Blue
#3D7AFD
ΔE00 4.84
Cornflower
#6A79F7
ΔE00 5.46
Faded Blue
#658CBB
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6187F2 #F2CC61
analogous
#61D0F2 #6187F2 #8461F2
triadic
#6187F2 #F26187 #87F261
tetradic
#6187F2 #F261D0 #F2CC61 #61F284
square
#6187F2 #F261D0 #F2CC61 #61F284
split-complementary
#6187F2 #F28461 #D0F261
monochromatic
#1041C8 #285CED #6187F2 #9AB2F7 #D2DDFB
Accessibility & contrast
On white
3.36
#6187F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.26
#6187F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #6187F2
6.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6187F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##6187F2 | 1.00 | 3.36 | 6.26 | 6.26 |
| #FFFFFF | 3.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5593F6
Deuteranopia (green-blind)
#3F86F0
Tritanopia (blue-blind)
#009FB1
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #6187f2; /* rgb */ color: rgb(97, 135, 242); /* oklch */ color: oklch(64.7% 0.165 267.0);
Tailwind
colors: {
custom: {
50: '#99a9f7',
500: '#6187f2',
950: '#000000',
},
}SCSS
$custom: #6187f2; $custom-light: #99a9f7; $custom-dark: #000000;
JSON
{
"hex": "#6187f2",
"rgb": {
"r": 97,
"g": 135,
"b": 242
},
"hsl": {
"h": 224.276,
"s": 84.795,
"l": 66.471
},
"oklch": {
"l": 0.64712,
"c": 0.1652,
"h": 267
},
"luminance": 0.2628
}Semantic roles & 50–950 ramp
primary
#6187F2
secondary
#EFE3C0
accent
#A704E1
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F0F17
muted
#7F7F85