#6281CC#6281CC
#6281CC is a mid, moderate blue. Relative luminance 0.227; OKLCH L 61.3% C 0.120 H 266.0°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).
Color values
| HEX | #6281CC |
|---|---|
| RGB | rgb(98, 129, 204) |
| HSL | hsl(222, 51%, 59%) |
| HSV | hsv(222, 52%, 80%) |
| CMYK | cmyk(52%, 36.8%, 0%, 20%) |
| CIE-LAB | lab(54.72, 10.27, -42.26) |
| CIE-LCH | lch(54.72, 43.49, 283.65°) |
| OKLab | oklab(61.31% -0.0084 -0.1194) |
| OKLCH | oklch(61.31% 0.12 266) |
| XYZ | xyz(23.7827, 22.6551, 60.2347) |
| Luminance | 0.2266 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 4.18
Faded Blue
#658CBB
ΔE00 4.64
Off Blue
#5684AE
ΔE00 5.90
Cornflower Blue
#5170D7
ΔE00 5.98
Dusty Blue
#5A86AD
ΔE00 6.00
Dodger Blue
#3E82FC
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6281CC #CCAD62
analogous
#62B6CC #6281CC #7862CC
triadic
#6281CC #CC6281 #81CC62
tetradic
#6281CC #CC62B6 #CCAD62 #62CC78
square
#6281CC #CC62B6 #CCAD62 #62CC78
split-complementary
#6281CC #CC7862 #B6CC62
monochromatic
#2C4788 #3B5FB6 #6281CC #90A6DB #BECBEA
Accessibility & contrast
On white
3.80
#6281CC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.53
#6281CC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #6281CC
5.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6281CC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##6281CC | 1.00 | 3.80 | 5.53 | 5.53 |
| #FFFFFF | 3.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6388CF
Deuteranopia (green-blind)
#577FCA
Tritanopia (blue-blind)
#2F919D
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #6281cc; /* rgb */ color: rgb(98, 129, 204); /* oklch */ color: oklch(61.3% 0.120 266.0);
Tailwind
colors: {
custom: {
50: '#95a5dc',
500: '#6281cc',
950: '#000000',
},
}SCSS
$custom: #6281cc; $custom-light: #95a5dc; $custom-dark: #000000;
JSON
{
"hex": "#6281cc",
"rgb": {
"r": 98,
"g": 129,
"b": 204
},
"hsl": {
"h": 222.453,
"s": 50.962,
"l": 59.216
},
"oklch": {
"l": 0.61307,
"c": 0.1197,
"h": 266
},
"luminance": 0.22657
}Semantic roles & 50–950 ramp
primary
#6281CC
secondary
#DACEB0
accent
#B14DDA
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0E0F15
muted
#7E7F83