Nearest named color · #0072CF
#0072CF
Nearest named color: Campanula
#0072CF (rgb(0 114 207), hsl(207 100% 41%), oklch(0.551 0.167 252.4)) is closest to the named color Campanula. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#0072CF
oklch(0.551 0.167 252.4)
Color conversions
- HEX
- #0072cf
- RGB
- rgb(0 114 207)
- HSL
- hsl(207 100% 41%)
- HWB
- hwb(207 0% 19%)
- OKLCH
- oklch(0.551 0.167 252.4)
- OKLab
- oklab(0.551 -0.05 -0.159)
- CIE Lab
- lab(46.77 0.76 -56.61)
- LCH
- lch(46.77 56.61 270.8)
- CMYK
- cmyk(100% 45% 0% 19%)
Tints · Shades · Tones
Tints
- 2F81D5
- 4A8FDB
- 629EE0
- 79ACE5
- 8FBAEA
- A6C8EF
- BCD5F3
- D2E3F8
- E8F1FB
Shades
- 0062B4
- 005399
- 00447F
- 003667
- 00284F
- 001B38
- 000E23
- 000410
- 000102
Tones
- 2074C8
- 3177C0
- 3E79B9
- 4A7AB1
- 547CA9
- 5E7DA1
- 677E99
- 6F7F91
- 788089
Color harmonies
Complementary +180°
- 0072CF
Campanula
- 9B6500
≈ Gamboge Brown
Analogous -30° +30°
- 0072CF
Campanula
- 007E9D
≈ Amazing Sky
- 675FCF
≈ Dark Periwinkle
Triadic +120° +240°
- 0072CF
Campanula
- BE3B56
≈ Merlot Magic
- 4D8300
≈ Avocado
Split-complementary +150° +210°
- 0072CF
Campanula
- BC4700
≈ Bolognese
- 7F7400
≈ Tool Green
Tetradic +90° +180° +270°
Contrast & accessibility
Ag
AAOn white
WCAG 4.87:1 · APCA Lc 73
Ag
FailOn black
WCAG 4.30:1 · APCA Lc 29
Best text color: #FFFFFF
WCAG 4.87:1 (AA) · APCA Lc 73
Contrast pairs
Code snippets
CSS
:root {
--campanula: #0072cf;
--campanula-rgb: 0 114 207;
--campanula-oklch: oklch(0.551 0.167 252.4);
}
.element {
color: var(--campanula);
background-color: hsl(207 100% 41%);
border-color: oklch(0.551 0.167 252.4);
}Tailwind CSS v4
@theme {
--color-campanula: #0072cf;
--color-campanula-50: #d5f8ff;
--color-campanula-100: #c2ebff;
--color-campanula-200: #a3d8ff;
--color-campanula-300: #7abbff;
--color-campanula-400: #4ca1fd;
--color-campanula-500: #0e87f0;
--color-campanula-600: #1372ca;
--color-campanula-700: #105ca3;
--color-campanula-800: #004479;
--color-campanula-900: #022f56;
--color-campanula-950: #001b3a;
}SCSS
$campanula: #0072cf;
$campanula-rgb: 0, 114, 207;
$campanula-light: mix(#fff, $campanula, 20%);
$campanula-dark: mix(#000, $campanula, 20%);
.element {
color: $campanula;
box-shadow: 0 0 0 2px rgba($campanula, 0.35);
}