Nearest named color · #336AC5
#336AC5
Nearest named color: Matt Blue
#336AC5 (rgb(51 106 197), hsl(217 59% 49%), oklch(0.536 0.154 259.9)) is closest to the named color Matt Blue. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#336AC5
oklch(0.536 0.154 259.9)
Color conversions
- HEX
- #336ac5
- RGB
- rgb(51 106 197)
- HSL
- hsl(217 59% 49%)
- HWB
- hwb(217 20% 23%)
- OKLCH
- oklch(0.536 0.154 259.9)
- OKLab
- oklab(0.536 -0.027 -0.151)
- CIE Lab
- lab(44.88 6.41 -53.86)
- LCH
- lch(44.88 54.24 276.8)
- CMYK
- cmyk(74% 46% 0% 23%)
Tints · Shades · Tones
Tints
- 4779CC
- 5B88D3
- 6F97D9
- 83A6DF
- 97B5E5
- ABC4EB
- C0D2F0
- D5E1F5
- EAF0FA
Shades
- 2B5BAB
- 234D92
- 1C3F79
- 143161
- 0D244B
- 071835
- 030D21
- 01040E
- 000002
Tones
- 3C6DBF
- 4570B8
- 4D73B2
- 5475AB
- 5C77A4
- 637A9D
- 6B7B96
- 727D8F
- 797F88
Color harmonies
Complementary +180°
- 336AC5
Matt Blue
- 8F6500
≈ Alligator
Analogous -30° +30°
- 336AC5
Matt Blue
- 00789F
≈ Mitchell Blue
- 6F59BF
≈ Fuchsia Blue
Triadic +120° +240°
- 336AC5
Matt Blue
- B53F47
≈ Pomegranate
- 33821E
≈ Green People
Split-complementary +150° +210°
- 336AC5
Matt Blue
- AC4F00
≈ Cinnamon Bun
- 727300
≈ Spinach Soup
Tetradic +90° +180° +270°
Contrast & accessibility
Ag
AAOn white
WCAG 5.23:1 · APCA Lc 76
Ag
FailOn black
WCAG 4.00:1 · APCA Lc 26
Best text color: #FFFFFF
WCAG 5.23:1 (AA) · APCA Lc 76
Contrast pairs
Code snippets
CSS
:root {
--matt-blue: #336ac5;
--matt-blue-rgb: 51 106 197;
--matt-blue-oklch: oklch(0.536 0.154 259.9);
}
.element {
color: var(--matt-blue);
background-color: hsl(217 59% 49%);
border-color: oklch(0.536 0.154 259.9);
}Tailwind CSS v4
@theme {
--color-matt-blue: #336ac5;
--color-matt-blue-50: #ddf6ff;
--color-matt-blue-100: #cce9ff;
--color-matt-blue-200: #b0d5ff;
--color-matt-blue-300: #8cb7ff;
--color-matt-blue-400: #679ef8;
--color-matt-blue-500: #4483ea;
--color-matt-blue-600: #3b6fc5;
--color-matt-blue-700: #2f599f;
--color-matt-blue-800: #1d4176;
--color-matt-blue-900: #132d54;
--color-matt-blue-950: #051a38;
}SCSS
$matt-blue: #336ac5;
$matt-blue-rgb: 51, 106, 197;
$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);
}