Nearest named color · #336EB3
#336EB3
Nearest named color: Matt Blue
#336EB3 (rgb(51 110 179), hsl(212 56% 45%), oklch(0.533 0.125 254.1)) is closest to the named color Matt Blue. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#336EB3
oklch(0.533 0.125 254.1)
Color conversions
- HEX
- #336eb3
- RGB
- rgb(51 110 179)
- HSL
- hsl(212 56% 45%)
- HWB
- hwb(212 20% 30%)
- OKLCH
- oklch(0.533 0.125 254.1)
- OKLab
- oklab(0.533 -0.034 -0.12)
- CIE Lab
- lab(45.15 -1.41 -43.04)
- LCH
- lch(45.15 43.06 268.1)
- CMYK
- cmyk(72% 39% 0% 30%)
Tints · Shades · Tones
Tints
- 487CBB
- 5C8BC3
- 7099CB
- 84A7D3
- 98B6DB
- ACC4E2
- C1D3EA
- D5E2F1
- EAF0F8
Shades
- 2B5F9B
- 235084
- 1C416E
- 143358
- 0D2643
- 07192F
- 030E1D
- 01040C
- 000101
Tones
- 3D70AE
- 4573AA
- 4D75A5
- 5577A0
- 5D799B
- 647A96
- 6B7C91
- 727D8B
- 797F86
Color harmonies
Complementary +180°
- 336EB3
Matt Blue
- 936100
≈ Raw Sienna
Analogous -30° +30°
- 336EB3
Matt Blue
- 007898
≈ Pristine Seas
- 6560B2
≈ Blue Marguerite
Triadic +120° +240°
- 336EB3
Matt Blue
- A84A56
≈ Black Pudding
- 4D7C29
≈ Master Chief
Split-complementary +150° +210°
- 336EB3
Matt Blue
- A65128
≈ Garfield
- 786F00
≈ Bronze Yellow
Tetradic +90° +180° +270°
- 336EB3
Matt Blue
- 9D4C7E
≈ Orchid Lei
- 936100
≈ Raw Sienna
- 00815B
≈ Irish Beauty
Contrast & accessibility
Ag
AAOn white
WCAG 5.22:1 · APCA Lc 76
Ag
FailOn black
WCAG 4.02:1 · APCA Lc 26
Best text color: #FFFFFF
WCAG 5.22:1 (AA) · APCA Lc 76
Contrast pairs
Code snippets
CSS
:root {
--matt-blue: #336eb3;
--matt-blue-rgb: 51 110 179;
--matt-blue-oklch: oklch(0.533 0.125 254.1);
}
.element {
color: var(--matt-blue);
background-color: hsl(212 56% 45%);
border-color: oklch(0.533 0.125 254.1);
}Tailwind CSS v4
@theme {
--color-matt-blue: #336eb3;
--color-matt-blue-50: #def7ff;
--color-matt-blue-100: #cdeaff;
--color-matt-blue-200: #b2d7ff;
--color-matt-blue-300: #8dbaf7;
--color-matt-blue-400: #69a1e7;
--color-matt-blue-500: #4688d7;
--color-matt-blue-600: #3c73b5;
--color-matt-blue-700: #2f5c91;
--color-matt-blue-800: #1e446c;
--color-matt-blue-900: #142f4c;
--color-matt-blue-950: #061b32;
}SCSS
$matt-blue: #336eb3;
$matt-blue-rgb: 51, 110, 179;
$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);
}