Nearest named color · #2A6BC6
#2A6BC6
Nearest named color: Matt Blue
#2A6BC6 (rgb(42 107 198), hsl(215 65% 47%), oklch(0.536 0.156 257.7)) is closest to the named color Matt Blue. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#2A6BC6
oklch(0.536 0.156 257.7)
Color conversions
- HEX
- #2a6bc6
- RGB
- rgb(42 107 198)
- HSL
- hsl(215 65% 47%)
- HWB
- hwb(215 16% 22%)
- OKLCH
- oklch(0.536 0.156 257.7)
- OKLab
- oklab(0.536 -0.033 -0.153)
- CIE Lab
- lab(44.91 4.86 -54.4)
- LCH
- lch(44.91 54.61 275.1)
- CMYK
- cmyk(79% 46% 0% 22%)
Tints · Shades · Tones
Tints
- 417ACD
- 5689D3
- 6B98DA
- 80A7E0
- 95B6E6
- A9C4EB
- BED3F1
- D4E2F6
- E9F0FA
Shades
- 235CAC
- 1C4E92
- 163F7A
- 103262
- 0A254B
- 051835
- 020D21
- 01040E
- 000002
Tones
- 356EC0
- 3F71B9
- 4874B2
- 5176AC
- 5978A5
- 617A9E
- 697C97
- 717D8F
- 797F88
Color harmonies
Complementary +180°
- 2A6BC6
Matt Blue
- 916400
≈ Gamboge Brown
Analogous -30° +30°
- 2A6BC6
Matt Blue
- 00789D
≈ Sea Sight
- 6B5AC2
≈ Circumorbital Ring
Triadic +120° +240°
- 2A6BC6
Matt Blue
- B63D4A
≈ Pomegranate
- 398111
≈ Green People
Split-complementary +150° +210°
- 2A6BC6
Matt Blue
- AE4C00
≈ Cinnamon Bun
- 757200
≈ Bronze Yellow
Tetradic +90° +180° +270°
Contrast & accessibility
Ag
AAOn white
WCAG 5.22:1 · APCA Lc 75
Ag
FailOn black
WCAG 4.01:1 · APCA Lc 26
Best text color: #FFFFFF
WCAG 5.22:1 (AA) · APCA Lc 75
Contrast pairs
Code snippets
CSS
:root {
--matt-blue: #2a6bc6;
--matt-blue-rgb: 42 107 198;
--matt-blue-oklch: oklch(0.536 0.156 257.7);
}
.element {
color: var(--matt-blue);
background-color: hsl(215 65% 47%);
border-color: oklch(0.536 0.156 257.7);
}Tailwind CSS v4
@theme {
--color-matt-blue: #2a6bc6;
--color-matt-blue-50: #dbf7ff;
--color-matt-blue-100: #caeaff;
--color-matt-blue-200: #add6ff;
--color-matt-blue-300: #87b8ff;
--color-matt-blue-400: #609ff9;
--color-matt-blue-500: #3b84eb;
--color-matt-blue-600: #3370c6;
--color-matt-blue-700: #295aa0;
--color-matt-blue-800: #184277;
--color-matt-blue-900: #0f2e54;
--color-matt-blue-950: #031a38;
}SCSS
$matt-blue: #2a6bc6;
$matt-blue-rgb: 42, 107, 198;
$matt-blue-light: mix(#fff, $matt-blue, 20%);
$matt-blue-dark: mix(#000, $matt-blue, 20%);
.element {
color: $matt-blue;
box-shadow: 0 0 0 2px rgba($matt-blue, 0.35);
}