Nearest named color · #2F6AC6
#2F6AC6
Nearest named color: Matt Blue
#2F6AC6 (rgb(47 106 198), hsl(217 62% 48%), oklch(0.535 0.156 259.2)) is closest to the named color Matt Blue. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#2F6AC6
oklch(0.535 0.156 259.2)
Color conversions
- HEX
- #2f6ac6
- RGB
- rgb(47 106 198)
- HSL
- hsl(217 62% 48%)
- HWB
- hwb(217 18% 22%)
- OKLCH
- oklch(0.535 0.156 259.2)
- OKLab
- oklab(0.535 -0.029 -0.153)
- CIE Lab
- lab(44.78 6.13 -54.59)
- LCH
- lch(44.78 54.93 276.4)
- CMYK
- cmyk(76% 46% 0% 22%)
Tints · Shades · Tones
Tints
- 4479CD
- 5989D3
- 6D97DA
- 81A6E0
- 96B5E6
- AAC4EB
- BFD3F1
- D4E1F6
- E9F0FA
Shades
- 275BAC
- 204D92
- 193F7A
- 123162
- 0C244B
- 061835
- 030D21
- 01040E
- 000002
Tones
- 396DC0
- 4270B9
- 4B73B2
- 5375AC
- 5B78A5
- 627A9E
- 6A7B97
- 717D8F
- 797F88
Color harmonies
Complementary +180°
- 2F6AC6
Matt Blue
- 8F6400
≈ Alligator
Analogous -30° +30°
- 2F6AC6
Matt Blue
- 00789E
≈ Mitchell Blue
- 6D59C0
≈ Circumorbital Ring
Triadic +120° +240°
- 2F6AC6
Matt Blue
- B63D48
≈ Pomegranate
- 348118
≈ Green People
Split-complementary +150° +210°
- 2F6AC6
Matt Blue
- AC4E00
≈ Cinnamon Bun
- 737200
≈ Bronze Yellow
Tetradic +90° +180° +270°
- 2F6AC6
Matt Blue
- AB3F7B
≈ Pink Ballad
- 8F6400
≈ Alligator
- 008163
≈ Generic Viridian
Contrast & accessibility
Ag
AAOn white
WCAG 5.25:1 · APCA Lc 76
Ag
FailOn black
WCAG 3.99:1 · APCA Lc 26
Best text color: #FFFFFF
WCAG 5.25:1 (AA) · APCA Lc 76
Contrast pairs
Code snippets
CSS
:root {
--matt-blue: #2f6ac6;
--matt-blue-rgb: 47 106 198;
--matt-blue-oklch: oklch(0.535 0.156 259.2);
}
.element {
color: var(--matt-blue);
background-color: hsl(217 62% 48%);
border-color: oklch(0.535 0.156 259.2);
}Tailwind CSS v4
@theme {
--color-matt-blue: #2f6ac6;
--color-matt-blue-50: #dcf6ff;
--color-matt-blue-100: #cbe9ff;
--color-matt-blue-200: #afd5ff;
--color-matt-blue-300: #8ab7ff;
--color-matt-blue-400: #649ef9;
--color-matt-blue-500: #4083ec;
--color-matt-blue-600: #376fc7;
--color-matt-blue-700: #2c59a0;
--color-matt-blue-800: #1b4277;
--color-matt-blue-900: #112d54;
--color-matt-blue-950: #041a39;
}SCSS
$matt-blue: #2f6ac6;
$matt-blue-rgb: 47, 106, 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);
}