#6162BF#6162BF
#6162BF is a mid, vivid blue. Relative luminance 0.150; OKLCH L 54.2% C 0.142 H 280.1°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).
Color values
| HEX | #6162BF |
|---|---|
| RGB | rgb(97, 98, 191) |
| HSL | hsl(239, 42%, 56%) |
| HSV | hsv(239, 49%, 75%) |
| CMYK | cmyk(49.2%, 48.7%, 0%, 25.1%) |
| CIE-LAB | lab(45.69, 24.91, -49.17) |
| CIE-LCH | lch(45.69, 55.12, 296.87°) |
| OKLab | oklab(54.15% 0.0249 -0.1399) |
| OKLCH | oklch(54.15% 0.142 280.1) |
| XYZ | xyz(18.6985, 15.0373, 51.1973) |
| Luminance | 0.1504 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.14
Iris
#6258C4
ΔE00 3.51
Slate Blue
#6A5ACD
ΔE00 4.05
Light Indigo
#6D5ACF
ΔE00 4.51
Warm Blue
#4B57DB
ΔE00 5.83
Cornflower Blue
#5170D7
ΔE00 7.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6162BF #BFBE61
analogous
#6191BF #6162BF #8F61BF
triadic
#6162BF #BF6162 #62BF61
tetradic
#6162BF #BF6191 #BFBE61 #61BF8F
square
#6162BF #BF6191 #BFBE61 #61BF8F
split-complementary
#6162BF #BF8F61 #91BF61
monochromatic
#303076 #4142A1 #6162BF #8D8DD1 #B8B9E2
Accessibility & contrast
On white
5.24
#6162BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.01
#6162BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6162BF
5.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6162BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6162BF | 1.00 | 5.24 | 4.01 | 5.24 |
| #FFFFFF | 5.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3870C2
Deuteranopia (green-blind)
#3169BD
Tritanopia (blue-blind)
#3E7687
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #6162bf; /* rgb */ color: rgb(97, 98, 191); /* oklch */ color: oklch(54.2% 0.142 280.1);
Tailwind
colors: {
custom: {
50: '#948ed3',
500: '#6162bf',
950: '#000000',
},
}SCSS
$custom: #6162bf; $custom-light: #948ed3; $custom-dark: #000000;
JSON
{
"hex": "#6162bf",
"rgb": {
"r": 97,
"g": 98,
"b": 191
},
"hsl": {
"h": 239.362,
"s": 42.342,
"l": 56.471
},
"oklch": {
"l": 0.54153,
"c": 0.14207,
"h": 280.1
},
"luminance": 0.15038
}Semantic roles & 50–950 ramp
primary
#6162BF
secondary
#D1D1AB
accent
#D156D2
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0E0C14
muted
#7E7D83