#6274CF#6274CF
#6274CF is a mid, vivid blue. Relative luminance 0.196; OKLCH L 58.8% C 0.140 H 273.0°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).
Color values
| HEX | #6274CF |
|---|---|
| RGB | rgb(98, 116, 207) |
| HSL | hsl(230, 53%, 60%) |
| HSV | hsv(230, 53%, 81%) |
| CMYK | cmyk(52.7%, 44%, 0%, 18.8%) |
| CIE-LAB | lab(51.37, 19.10, -49.27) |
| CIE-LCH | lch(51.37, 52.84, 291.19°) |
| OKLab | oklab(58.79% 0.0072 -0.14) |
| OKLCH | oklch(58.79% 0.14 273) |
| XYZ | xyz(22.5413, 19.5909, 61.6130) |
| Luminance | 0.1959 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 3.00
Royal Blue
#4169E1
ΔE00 5.57
Cornflower
#6A79F7
ΔE00 5.73
Lightish Blue
#3D7AFD
ΔE00 7.18
Dark Periwinkle
#665FD1
ΔE00 7.55
Soft Blue
#6488EA
ΔE00 7.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6274CF #CFBD62
analogous
#62AACF #6274CF #8762CF
triadic
#6274CF #CF6274 #74CF62
tetradic
#6274CF #CF62AA #CFBD62 #62CF87
square
#6274CF #CF62AA #CFBD62 #62CF87
split-complementary
#6274CF #CF8762 #AACF62
monochromatic
#2B3B8C #394EBB #6274CF #919DDD #C0C7EC
Accessibility & contrast
On white
4.27
#6274CF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.92
#6274CF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #6274CF
4.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6274CF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##6274CF | 1.00 | 4.27 | 4.92 | 4.92 |
| #FFFFFF | 4.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D7FD2
Deuteranopia (green-blind)
#4176CD
Tritanopia (blue-blind)
#2F8897
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #6274cf; /* rgb */ color: rgb(98, 116, 207); /* oklch */ color: oklch(58.8% 0.140 273.0);
Tailwind
colors: {
custom: {
50: '#969bde',
500: '#6274cf',
950: '#000000',
},
}SCSS
$custom: #6274cf; $custom-light: #969bde; $custom-dark: #000000;
JSON
{
"hex": "#6274cf",
"rgb": {
"r": 98,
"g": 116,
"b": 207
},
"hsl": {
"h": 230.092,
"s": 53.171,
"l": 59.804
},
"oklch": {
"l": 0.58788,
"c": 0.14019,
"h": 273
},
"luminance": 0.19592
}Semantic roles & 50–950 ramp
primary
#6274CF
secondary
#DBD5B1
accent
#C54BDD
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83